Giter Club home page Giter Club logo

snek's Introduction

Snek

A simple snake game made in simple SDL2.

Dependencies

  • make >= 3.8

  • gcc/g++ >= 13.1

Local Release Instructions

  1. Run: mkdir release && cd release
  2. Ensure libfreetype-6.dll, SDL2_image.dll, SDL2_ttf.dll & SDL2.dll are present in this directory.
  3. Copy src/assets directory to release.
  4. Compile & run: cd .. && make release && make rrun.

Local Build Dependencies

  • MinGW-w64

    • Suite of development tools, installed through MSYS2 from here.
  • SDL2 >= 2.0

    • Low level cross-platform development library, latest version found here.
  • SDL2_ttf >= 2.0

    • Used to render fonts, latest version found here.
  • SDL2_image >= 2.0

    • Used to load the icon, latest version found here.
  • (Optional) Freetype

    • Used to render fonts needed by SDL_ttf, installed through msys2 using commands found here.

Local Build Instructions

  1. Copy installed SDL2, SDL2_ttf & SDL2_image include directories into src/include.
  2. Copy SDL2, SDL2_ttf & SDL2_image lib directories in src/lib.
  3. Copy SDL2, SDL2_ttf & SDL2_image dll into main directory.
  4. Either install freetype or place libfreetype-6.dll in this directory.
  5. Compile & run: make && make run.

snek's People

Contributors

gimmeursocks 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.