Giter Site home page Giter Site logo

snek's Introduction

Snek

Classical simple game implemented in C using Raylib as frontend. This simple project was an experiment to test and understand a couple of programming concepts.

Features:

  • Simple 8-bit style music.
  • Sound effect when snek eats & grows.
  • Game over window with its own sound effect.
  • Score counter.

Implementation:

  • snek.c: implements the movement and growing logic for the snake.
  • game.c: implements game rules and animations. This file should actually be split into different modules.
  • build.sh: simple shell script to compile and run the game.

Supported platforms: This game has only been tested on a Macbook Air with M2 processor. Although thanks to Raylib it should be pretty simple to port to any other platform.

Snek Gameplay:

Snek game gameplay

snek's People

Contributors

jhestolano avatar

Watchers

 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.