Giter Site home page Giter Site logo

infinitepain / snake-by-infinitepain Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 676 KB

InfinitePain's Snake game for Terminal offers a straightforward yet enjoyable gaming experience. Give it a try and see how high you can score!

License: Apache License 2.0

CMake 4.09% C 86.92% Dockerfile 0.48% Python 7.84% Shell 0.67%

snake-by-infinitepain's Introduction

Snake by InfinitePain

Snake by InfinitePain is a terminal-based snake game that features single player and multiplayer modes, as well as a settings menu to customize various aspects of the game. Developed as a university assignment, Snake by InfinitePain has grown into a more comprehensive project that aims to provide a fun and enjoyable gaming experience.

Features

  • Single player mode
  • Multiplayer mode
  • Customizable settings
  • Display of best score, current score, and game time

Prerequisites

  • ncurses library

Installation

Windows:

Download the .exe installer from the GitHub Releases page and follow the installation instructions.

Arch Linux:

A PKGBUILD file is provided for Arch Linux users. You can use this file to build and install the game. Here's how:

  1. Download the PKGBUILD file using the following command:

    curl -O https://raw.githubusercontent.com/InfinitePain/Snake-by-InfinitePain/main/Installers/arch_linux/PKGBUILD
  2. Build and install the package with the following commands:

    makepkg -si

Please note that you need to have base-devel and git installed on your system to build the package.

Configuration File

The game stores its configuration settings in a file that is created in the following locations:

Windows: %APPDATA%\Snake-by-InfinitePain\configurations.txt

Linux: ~/.config/Snake-by-InfinitePain/configurations.txt

macOS: ~/Library/Application Support/Snake-by-InfinitePain/configurations.txt

License

This project is licensed under the Apache License 2.0. See the LICENSE.txt file for details.

Third-Party Libraries

This project uses the following third-party libraries:

  • pthread (POSIX License)
  • ncurses (MIT License)
  • menu (MIT License, part of ncurses)

The full license texts for these libraries can be found in the respective subfolders under the external folder included with this project.

GCC Runtime Library Exception

This project links the GCC runtime libraries statically, as permitted by the GCC Runtime Library Exception. For more information about the exception, please refer to the GCC Runtime Library Exception provided by the Free Software Foundation.

Changelog

For a detailed list of changes in each version, please refer to the changelog.

Distribution

Snake by InfinitePain will be distributed as an .exe installer for Windows and as a PKGBUILD for Arch Linux. The goal is to make Snake by InfinitePain easily installable on a wide range of platforms. Releases and source code are available on the GitHub repository.

snake-by-infinitepain's People

Contributors

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