Skip to content
Profile icon

Tejasnarula

@Tejasnarula (6)
I am learning python from school, and trying to make fun things with it. and learning new concepts
Repls
Posts
Tejasnarula
Tejasnarula
shared a Post
7 months ago
1
How to get keyboard input without pressing enter?
So I am creating a game with python, I want to get the keyboard input that is arrow keys without pressing enter. like without using input() function t
VulcanWM
VulcanWM You can try using this: https://pypi.org/project/getkey/7 months ago
Tejasnarula
Tejasnarula
shared a Post
7 months ago
1
#python
#fun
#game
+2
Its a rock paper scissors python terminal game that I created. I want your feedback on how to improve it and if you find any bugs comment below!
Rock paper scissors game
Python
Carnage498
Carnage498 Seems cool. Though if you added a way to loop it such as giving a condition and then an IF statement and let the user choose to either replay or stop. This would just be an optional choice, but a little color would be nice. In the code, you should also add ELIF statements since you have a lot of IF statements and kinda jumbles it. Or else I think it's pretty fine. It's pretty good honestly Keep the good work up @Tejasnarula! ~ @Carnage4987 months ago
Tejasnarula
Tejasnarula
shared a Post
7 months ago
1
I am trying to make a snake game, when I run it, it just stops instantly. I don't know what's the issue. Someone who knows pygame pls help
Snake Game
Python
SixBeeps
SixBeeps Line 61, you forgot parentheses.7 months ago
Tejasnarula
Tejasnarula
published a Repl
7 months ago
1
Rock paper scissors game
Rock paper scissors gameIts a simple a rock paper scissors game. you enter a number 0,1,2 to choose rock, paper or scissors. Computer chooses randomly what it wants. Rock wins over scissors, paper over rock, scissors over paper. ENJOY!!! ~ change log:- July 26 2020: created the project and finished the basics, you could play once then it would ask you if you wish to play again. if you enter yes it would play again. (basic concept) October 20 2021: put a while loop to play infinite times and removed it asking user if they want to play again. October 22 2021: Enhanced the UI, added a score system / played times and Draws. October 23 2021: fixed all the known bugs ~ known issues:- None(if you find any pls report in comments...) Note: I built it when I first started learning python and new to this around 2 years or more ago. that's why you'll see many places in the code its very messy. I don't want to change the whole code but trying to enhance it
#python
#fun
#game
+2
Tejasnarula
Tejasnarula
shared a Post
7 months ago
1
I have made it so the the box should move by its own(creating a snake game). but it isn't. pls someone tell what's the issue
Snake Game
Python