Code Monkey home page Code Monkey logo

1055-raspberrygames's Introduction

Raspberry Games

Memento

Variation of the doodle game, you have to find the only symbol on the picture that is printed on one of the push button in front of you

Koh Koh Lanta

A game where people are meant to stay on poles with several disturbance to make them fall There is a detection mecanism for the poles and for the ground

Quizz de l'extreme

Displays a MCQ on the screen, the players has to push buttons from A to D to answer It interacts with a centralized server that sends json requests through websockets that start and stop the game

Installation

All games have the sames dependencies to be install

Game engine: The script runs with python3-8-10, the game engine use the pyglet package v1.5.21

apt-get install python3 python3-dev i2c-tools ffmpeg python3-gst-1.0 libglu1-mesa
pip3 install pyglet RPi.GPIO smbus

Web socket Management: The websocket service is managed with the websocat project:

It receives data from a web socket and print it in stdout as text You need to download the builtin version for your specific platform. For raspberry, the linuxarm32 pre-build is available here, v1.9.0 is used for the project

Run

The script launch_forever.sh will run the game. If for any reasons, the game is left, for example, if the websocket connection is broken, it will continously try to restart the game

Changelog

  • First release v1: 28/01/2022

Author: Gregory Vamourin

1055-raspberrygames's People

Contributors

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