Giter Site home page Giter Site logo

blocky-toad's Introduction

Blocky Toad

Frogger, except instead of a frog it's a toad and instead of a toad, it's a block.

Screenshot

Tested with: Pygame 2.0 and Python 3.9

Shout outs to all the people on the OldSkoolCoder Discord server and thanks John for streaming the 6502 stuff.

The font used is PetMe64 from KreativeKorp and the license for it is included as per the terms therein.

Features

  • Toads hopping
  • Dynamic playfield rescaling
  • Arbitrary sized and shaped levels
  • Configuration-driven
  • Zero cut scenes

Instructions

Play the game with keys WASD or arrows, get the frogs to the goals before the time runs out.

The game is driven by the config.py script. You can change many things about the game in there including defining levels of arbitrary size (and shape!). Look in that file for examples of the way levels are defined. You need to adhere to python syntax rules or probably everything will break.

How to build

Game.py can be run if you already have pygame installed. If that doesn't work, read on.

Install dependencies with pipenv by running the provided install.sh or if you know what you're doing... do that.

Note that in order to run on macos I needed to use pygame 2.0 which is currently in pre-release which necessitates the pipenv --pre option.

Pull requests are encouraged!

TODO

  • BUG: unforgiving collision with rideables on their left edge
  • add fly and other bonuses, maybe turtles etc.

blocky-toad's People

Contributors

christo avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.