Skip to content

I create some interesting game by python for beginner to learn some basic skills

Notifications You must be signed in to change notification settings

jasper060/bridges-games

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Introduction about bridges-games

BRIDGES can easily help you to start out the python in a interesting way
Link: The official tutorial

How to prepare environment?

You should install bridges packages by pip3 install bridges or conda install bridgesin Anaconda prompt
Or you can follow BRIDGES official guideline

The parameter in my code

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

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 🔼🔽◀️▶️ When the man touch the bug, you will get 1 point
The game will end when you get 10 points

Note

Of course you can adjust parameter by yourself!

The triangle is the car (you can use a different symbol). The road moves over from right ▶️ to left ◀️ . The user has to move the car to adjust to the road. When the car overlay the margin of the road, the game will end.

About

I create some interesting game by python for beginner to learn some basic skills

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages