Skip to content

scoblem/darkroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

darkroom

  • Create a map of tuples representing x, y coordinates of n size.

  • Randomly assign a exit, monster & player position.

  • The player wins if they reach the exit, loses if they land on the monster.

######Example size 3 grid:

(0, 0), (0, 1), (0, 2),
(1, 0), (1, 1), (1, 2),
(2, 0), (2, 1), (2, 2),
(3, 0), (3, 1), (3, 2)

######Example size 4 map:

  • ^ = Player
  • . = Breadcrumbs
|_____| |__^__| |_____|

|_____| |_____| |__.__|

|__.__| |__.__| |__.__|

About

Simple python game.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages