Giter Site home page Giter Site logo

simonthorell / rock-paper-scissor Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 767 KB

Game developed in Java featuring a graphical user interface that enables players to engage remotely through MQTT, utilizing either Arduino or a Python script.

Java 65.60% C++ 16.99% Python 17.42%
gui java mqtt

rock-paper-scissor's Introduction

Java Multiplayer Game with MQTT

Overview

This project is a multiplayer game developed in Java, featuring a graphical user interface (GUI) and remote gameplay capabilities using MQTT (Message Queuing Telemetry Transport). The game allows players to engage with each other remotely, with support for both Arduino and Python scripts for enhanced gameplay.

Features

  • Graphical User Interface: A user-friendly GUI for an engaging gaming experience.
  • Remote Multiplayer Gameplay: Players can join and play the game remotely via MQTT protocol.
  • Arduino and Python Script Support: Compatibility with Arduino and Python scripts for diverse gameplay options.
  • Game Logic: Implements rock-paper-scissors game logic with a unique twist.
  • Score Tracking and Ranking: Players' scores are tracked, and a ranking system is implemented to display player standings.

How to Play

  1. Ensure that MQTT broker/server is set up and running.
  2. Start the game application.
  3. Choose between single-player or multiplayer mode.
  4. In multiplayer mode, wait for other players to join.
  5. Follow the on-screen instructions to play the game.
  6. The game tracks each player's score and displays the winner at the end of each round.

Requirements

  • Java Runtime Environment (JRE)
  • MQTT broker/server setup
  • (Optional) Arduino or Python environment for advanced gameplay features

Installation

  1. Clone or download this repository to your local machine.
  2. Navigate to the directory containing the game files.
  3. Compile and run the Java files.
  4. Ensure that the MQTT broker is correctly configured and running if playing in multiplayer mode.

Contributing

Contributions to the project are welcome! Feel free to fork the repository, make changes, and submit pull requests. We appreciate any feedback or improvements you can provide.

License

This project is open-source and available under MIT License.

Acknowledgments

Special thanks to all contributors and players who have tested and improved this game.

Enjoy the game and may the best player win!

rock-paper-scissor's People

Contributors

disce-et-facere avatar nicolenilsson avatar petterssonb avatar simonthorell avatar

Stargazers

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