Skip to content
This repository has been archived by the owner on Jul 30, 2024. It is now read-only.

inf112-v21/Programmeratene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

alt text

INF112 Gruppe 10 - Lag 4 Programmeratene

Uni project where we have to make a RoboRally game with libgdx. This game supports up to 8 players on a client / host based system. We use Kryonet for all our multiplayer features. Read more about Kryonet here

Build Status

Members

  • Mathias Naess Iversen (mathiasni) - TEAM LEAD
  • Jakob Slyngstadli (jakobdengode) - PROJECT MANAGER
  • Jan Erik Syltøy (jeriks31) - TECH LEAD
  • Simen Sørensen (sisorensen) - PRODUCT OWNER
  • Erland Myklebust (emy004) - SUBJECT MATTER EXPERT

Requirements

  • Java (tested on jdk 13 and 15)

How to run game

  1. Clone repository from https://github.com/inf112-v21/Programmeratene
  2. Open repository in your IDE as a Maven project
  3. Run Main.main()

How to play

  1. See "How to run game"
  2. Choose between "Host Game" or "Join Game"
  3. If Host, wait for Clients to connect / If Join, enter Host IP when prompted in the terminal
  4. When all players are connected, host clicks "Start game"
  5. Pick cards from the terminal with card numbers 1-9
  6. Pick your cards in preferred order, afterwards the robots will move in order after card priority (the highest first)
  7. After every robot has done all movements for that round, we get a new round with new cards
  8. The first one to visit all flags in order wins. Be aware of holes and other dangers!

"Enter Host IP? What's that?"

If playing locally:

  1. Host can open a command prompt and type 'ipconfig'.
  2. Look for the numbers labeled 'IPv4'

If playing on different networks:

  1. The host must port-forward port '27960' (Look up a guide specific to your router!)
  2. Find your public IP on WhatsMyIP

How to run tests

  1. Clone repository from https://github.com/inf112-v21/Programmeratene
  2. Open repository in your IDE as a Maven project
  3. Run directly from test folder

How to run manual tests

  1. Open Project folder.
  2. Open Documents folder
  3. Open Manuelle Tester folder
  4. Open ManuelleTester.pdf
  5. Follow the instructions for each test.

Rules

Read more about how to play RoboRally here