Skip to content

👾 A game for the mandatory assignment. Uses python sockets

Notifications You must be signed in to change notification settings

omfj/team-local-tactics

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Team Local Tactics

What?

A game made for the mandatory assignment in INF142 (Computer Networks) @ University of Bergen.

Rock, paper, scissors with a twist! Choose between the different champions and crush your friends with even more RNG!

Installation

Dependencies

The program is written in Python 3.10.x. For running the game locally on your own computer download the following dependencies with pip:

rich
pyaml

Download the files

  1. Clone the files to your computer.
git clone https://github.com/omfj/team-local-tactics.git
  1. Change directory to team-local-tactics.
cd team-local-tactics

When running it locally, make sure that the scripts folder is its root folder. Run in this order:

  1. Database
  2. Server
  3. Clients

Docker

  1. Buld and run the database and server detached
docker-compose up -d database server
  1. Starts a client
docker-compose run client
  1. To play TLT you need two run two client. Just run the same command in another tab/window.

Docker video

docker-demo.mp4

After installation

  1. When you're inside the container type help to get a list of all the commands
>>> help

GL HF!

Made by group 71:


Ole Magnus

Eirik

About

👾 A game for the mandatory assignment. Uses python sockets

Topics

Resources

Stars

Watchers

Forks

Languages

  • Python 98.6%
  • Dockerfile 1.4%