Skip to content

Latest commit

 

History

History
54 lines (36 loc) · 1.96 KB

README.md

File metadata and controls

54 lines (36 loc) · 1.96 KB

Soccer car game

This is a simple multiplayer soccer car game application. Each player have a car that can move in 4 directions (up, down, left, right). The game ends after 2 minutes and the player with the most goals wins.

Built With

  • Quarkus A Java framework for building cloud-native applications.
  • Java A high-level, class-based, object-oriented programming language.
  • Websockets A communication protocol that makes it possible to establish a two-way communication channel between a server and a client.
  • React A JavaScript library for building user interfaces.
  • Typescript A superset of JavaScript that adds optional types to the language.
  • Material-UI A popular React UI framework.
  • Sass A CSS extension language.
  • Docker A platform for building, sharing, and running applications with containers.

Getting Started

Prerequisites

  • You need to have Docker installed on your machine.

Installation

  1. Pull the docker image from the docker hub:

    docker pull bastian8dev/socket_car_game-jvm:latest
  2. Run the docker image:

    docker run -i --rm -p 8080:8080 bastian8dev/socket_car_game-jvm:latest
  3. Open two browsers and go to http://localhost:8080/

  4. Enjoy the game!

Usage

  • Use the arrow keys to move the car.
  • The game ends after 2 minutes.
  • The player with the most goals wins.

Demo

The project is available on the following link: Soccer Car Game

You have to open the link in two different browsers to play the game.