Skip to content
This repository was archived by the owner on Sep 22, 2025. It is now read-only.

KrishayIyer/game.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

game.py

A simple console-based game that has enemies and coins. Collect all the coins to win. Hit an enemy, and you're dead.

You can change the width and height of the grid, as well as the range of enemies and coins, and the starting coordinates.

  • Green "[0]" is you. Control it by entering "l", "r", "u", "d".
  • Red "[1]" is an enemy. Don't hit it.
  • Yellow "[2]" is a coin. Collect it to win.

FYI, it sometimes glitches, just close and restart the script.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Contributors

Languages