I want to make a game with Python

Momota ○ I want to make an electric railway

I was just barely in the Momotaro generation, and I used to enjoy Momotaro when I was a student. …… But maybe because of various mess, there haven't been any new Momotaro works in the last few years ……

There was information that a new Momotaro will be released this winter, but it will be released with a sad personal 3DS instead of a home game console ... (Maybe I will buy it) Play while sharing the screen with family and friends Can't you do that anymore ...

Alright, if not, let's make it! !! Start up your computer and play a game while sharing the display!

I'm thinking of making it by making full use of the terrifying coding ability. The following is a memorandum. It's my first time to make a game, so I'm going to be frustrated ...

Classes to be used

Game class

--Variable --name: I want to use the name of the game and the name of the save data --year: Number of years set, up to 1999? --nowM, nowY: Current years and months --Mezot --save, load: Save and load save data.

Player class

--Variable --ID: Up to 4, play in order --name: Player's name --cards: List of card IDs of the cards you have --index: Of the station that is stopped --money: Possession amount up to 100 billion? --Mezot --dices: Roll one dice --move: move (what should I do ...) --buyProperties: Buy a property (argument is a list of property IDs) --addCard: Add a card (up to 8 cards, discard more) --trashCard: Discard the card --money: Increase / decrease in money --cards: Use cards (argument is card ID) --canIgo: Can you go? If it can be implemented ... --pay: Debt payment (property sale)

station class

Considering whether it is necessary to use

Databases

I heard that sqlite3 can be used for Python, so I decided to use the card list, station data, and property data using the SQLite database.

card

station

Property

Recommended Posts

I want to make a game with Python
I want to write to a file with Python
[Introduction] I want to make a Mastodon Bot with Python! 【Beginners】
I want to debug with Python
I want to work with a robot in python.
[Python] I want to make a nested list a tuple
I want to run a quantum computer with Python
Let's make a shiritori game with Python
I want to make a blog editor with django admin
I want to make a click macro with pyautogui (desire)
I want to build a Python environment
I want to analyze logs with Python
I want to play with aws with python
I want to make a click macro with pyautogui (outlook)
I want to make input () a nice complement in python
I made a roguelike game with Python
[Mac] I want to make a simple HTTP server that runs CGI with Python
[5th] I tried to make a certain authenticator-like tool with python
I want to use a wildcard that I want to shell with Python remove
[2nd] I tried to make a certain authenticator-like tool with python
[3rd] I tried to make a certain authenticator-like tool with python
I want to do a full text search with elasticsearch + python
I tried to make a periodical process with Selenium and Python
I tried to make a 2channel post notification application with Python
I tried to make a todo application using bottle with python
[4th] I tried to make a certain authenticator-like tool with python
[1st] I tried to make a certain authenticator-like tool with python
I want to make matplotlib a dark theme
I want to use MATLAB feval with python
Try to make a "cryptanalysis" cipher with Python
[Python] Make a simple maze game with Pyxel
I want to use Temporary Directory with Python2
#Unresolved I want to compile gobject-introspection with Python3
I want to solve APG4b with Python (Chapter 2)
Try to make a dihedral group with Python
I want to make C ++ code from Python code!
I tried to make a ○ ✕ game using TensorFlow
I made a bin picking game with Python
Make a fortune with Python
[Python] I want to make a 3D scatter plot of the epicenter with Cartopy + Matplotlib!
I want to make a voice changer using Python and SPTK with reference to a famous site
Python: I tried to make a flat / flat_map just right with a generator
I tried to make a traffic light-like with Raspberry Pi 4 (Python edition)
I want to make a web application using React and Python flask
I want to embed a variable in a Python string
I want to easily implement a timeout in python
I want to iterate a Python generator many times
I want to generate a UUID quickly (memorandum) ~ Python ~
I want to transition with a button in flask
Try to make a command standby tool with python
I want to handle optimization with python and cplex
I made a Christmas tree lighting game with Python
I want to climb a mountain with reinforcement learning
I tried to draw a route map with Python
I want to write in Python! (2) Let's write a test
How to make a shooting game with toio (Part 1)
Let's make a simple game with Python 3 and iPhone
I want to randomly sample a file in Python
I want to inherit to the back with python dataclass
I want to split a character string with hiragana
I tried to automatically generate a password with Python3