+ 4

Can i create a simple game with Python?

Hi, i'm starting in Python and i just learn things like 'hello world' and the basics, but I already understand how codes work. My goal is to create an simple game, based in prompt /CMD, something like "Pale Luna", an short RPG, where the text appears and the player needs to reply. Ex: --You follow the sound, and see two routes. Which one will you take?-- and trigger only if an valid input was answer. Ex: Left/Right. Is it something difficult to program? Does it take too long?

6th Apr 2019, 9:41 PM
Henrique
4 odpowiedzi
+ 6
python games have long code syntax but it is really easy when you know how to do it...I suggest you should learn about pygame for you to compile a game in python.
6th Apr 2019, 10:14 PM
Umar Idris
Umar Idris - avatar
+ 2
Hello Henrique ! I'm a fan of text based games, specifically MUDs. I made a simple game (where you only move north or south) while utilizing the Pickle Module (more on this explained on the code). It could serve you has a base to give you an idea on what you could utilize and what you could learn to get you started. I wish you success! https://code.sololearn.com/cW5LW6EVPAT9/?ref=app
6th Apr 2019, 11:42 PM
Luis Sepúlveda
Luis Sepúlveda - avatar
+ 2
it can be long or short, depending on the complexity of your game. If you make a complete game, it will most likely be long. This code is relatively simple and yet it took me a week or so to do. https://code.sololearn.com/cZo0860K9j0P/?ref=app I wish you good luck in your programming experience!
7th Apr 2019, 2:58 AM
Jérémy Matte
Jérémy Matte - avatar