8000 GitHub - Rillmo/so_long: This is simple Game made in C
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Rillmo/so_long

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

so_long

This is simple cat game made in C

Preview

BASIC VERSION
so_long
BONUS VERSION
so_long_bonus

Before start

This game has 2 versions, basic and bonus.

BASIC VERSION

  • The main goal of the game is to reach the carpet.
  • To make cat rest on the carpet, you have to finish eat all the tuna cans.
  • The game ends when the cat finishes all the tuna cans and reaches the carpet.

BONUS VERSION

  • Cat will be chased by the robot vacuum cleaner.
  • When the robot vacuum cleaner catches cat, you'll lose.
  • Avoid robot vacuums, eat all the tuna cans and reach the carpet!

About map

Simple maps provided in game, but you can make your own maps to play. To make a map, you have to follow several rules below.

  • 0 for an empty space,
  • 1 for a wall,
  • C for a tuna can,
  • E for a map exit,
  • P for the cat’s starting position
  • X for the robot vacuum cleaner's starting position (only in bonus version)

How to start

  1. Clone this repository to your local directory.
git clone <your-dirname>
  1. Run Makefile command to complie C program.
// BASIC VERSION
make
// BONUS VERSION
make bonus
  1. Now you can play the game with your maps.
// BASIC VERSION
./so_long maps/<map>
// BONUS VERSION
./so_long_bonus maps/<map>

How to remove

If you want to remove object files, run this command.

make clean

If you want to remove object files, and also game program, run this command.

make fclean

About

This is simple Game made in C

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0