Skip to content

Meet Ejo, He's a Yoruba snake who eats only eba and fufu. Let's build him together.

Notifications You must be signed in to change notification settings

OpeOnikute/Ejo---The-Yoruba-Snake-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ejo---The-Yoruba-Snake-Game

Meet Ejo, He's a Yoruba snake who eats only eba and fufu. Let's build him together.

Game Info

The game currently consists of: - One Snake eating eba. - A scoreboard - Health bar: Essentially you'd have to eat yourself three times to die. But the bushes at the edge are poisonous so they drain all of Ejo's health. - Bonuses for eating a particular amount - Exciting animations for a 2D game. - A Pause menu - An About Menu

How to install

The game was built on Python 2.78, but any latter version works. The required frameworks are Pygame (Python's game library), and Pyganim, (Pygame's animation framework). - Clone the repository, and run a 'pip install -r requirements.txt' to get the required modules installed on your OS. - Move all the images into the same folder as the main.py file. - Open the main.py file with any editor of your choosing and run the game.

You could also create a virtualenv with Python 2.78, then install Pygame and Pyganim in the environment to be safe.

Features to be added

Soundtrack

We've been looking for a proper soundtrack, which is ideally a fast-paced Fuji beat. If you have any, submit a pull request while re-working the code and adding sound if you know how to. If you don't submit a pull request with the link to the sound regardless.

Storyline

I'd like to have a storyline, which would ideally be an animation that plays when the user first plays the game. Send any ideas or write-ups to me through Twitter, or my e-mail. We'd find a way to incorporate the storyline into the game afterwards when we do the animation. For example, "There is farmine in Abeokuta, and Ejo goes to Ibadan to gather all the Eba and fufu to take it back to his hometown. He has to also get tomatoes and grind pepper on his way back. But the citizens are afraid and want to kill him so he has to pass through the gutter. Ejo -- The Yoruba Hero."

Bonus Level

I've been dwelling on the idea of a bonus level or stage, maybe there'd be a buffet of Eba and Amala and Ejo gets to eat not only for the village, but for himself. It'll be a chance for the player to replenish health and reduced Ejo's length to ease game difficulty.

High Score

I just haven't gotten around to doing it yet.

That's pretty much it. Let's help make Ejo. I'd update this readme as the need arises.

Re-write in Javascript

Would be nice to have this on the browser.

How to use

  • Setup your virtualenv using instructions from here.
  • In that environment, run pip install -r requirements.txt
  • Start the game python main.py

Running in a container

If you need to run in a container for some reason (and are using a MacOS), you can follow the final attempt here: https://opeonikute.dev/posts/running-pygame-in-a-docker-container-macos

About

Meet Ejo, He's a Yoruba snake who eats only eba and fufu. Let's build him together.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages