Skip to content

kevinlacire/kafka-snake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kafka "Snake" [WIP]

Just a square (let's pretend it's a tiny snake) controlled by a Java CLI app using Z,Q,S,D keystrokes (Yeah I did it the opposite way because why not).

Prerequired

  • Nodejs 10.11.0
  • Npm 6.4.1
  • Java 8
  • Maven 3.5
  • Docker 18.06.1 (with docker-compose)

Installation

  1. Deploy Docker composition
docker-compose up -d
  1. Build Maven project
mvn clean package
  1. Launch Java KeyboardListener class
java -cp target/keyboard-listener-0.0.1-SNAPSHOT.jar fr.ultimaratio.lab.keyboard.listener.KeyboardListener
  1. Check that you can receive commands using the Debugging consumer
java -cp target/keyboard-listener-0.0.1-SNAPSHOT.jar fr.ultimaratio.lab.keyboard.listener.KeyboardInputConsumer
  1. Install front dependencies
npm install
  1. Launch webapp
npm start
  1. Checkout out localhost

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published