Introduction about bridges-games
BRIDGES can easily help you to start out the python in a interesting way
Link: The official tutorial
You should install bridges packages by pip3 install bridges
or conda install bridges
in Anaconda prompt
Or you can follow BRIDGES official guideline
There are some parameters in my code you should change by yourself
Such as my_game = BugStomp(219, "User Name", "API Key", 30, 30)
or game = RaceCar(221, "User Name", "API Key")
User Name
and API Key
are belongs to your BRIDGES account
Game1: BUGSTOMP.py
Bugstomp is a very simple game on a 30x30 grid, where the background is all black and all symbols are white. The character controlled by the player is shown using the 'man' symbol and the bug to stomp is shown using the 'bug3' symbol.
This is a game about man catching a bug by using 🔼🔽
The game will end when you get 10 points
Note
Of course you can adjust parameter by yourself!
Game2: racingCar.py
The triangle is the car (you can use a different symbol). The road moves over from right