Giter VIP home page Giter VIP logo

lm_colombo_cof's Introduction

Council of Four

Contributors

  • Matteo Colombo - 808660
  • Gianpaolo Branca - 806826
  • Davide Cavallini - 808552

Implemented Functionalities

  • Complete Rules
  • CLI & GUI
  • Socket & RMI
  • Advanced: Automatic game configuration

How do I get set up?

  • Server setup

Run the server.Server.java class with no arguments

  • GUI Client setup

Run the client.Client.java class with no arguments

  • ClI Client setup

Run the client.Client.Java class with "-cli" as argument
(client.Client.java -cli)

How do I play with the CLI?

Main Actions

  • Slide council

slide -council [number 1-n or "k" for king] -color [english name]

  • Buy permission card

permission -region [number 1-n] -card [1/2] -politic [politic card number]*

  • Build an emporium

emporium -city [city name] -card [1-n]

  • Build an emporium with the king

king -city [city name] -politic [1-n]

Secondary Actions

  • Slide with assistant

secondarySlide -council [number 1-n or "k" for king] -color [english name]

  • Shuffle permission cards of a region

shuffle -region [1-n]

  • Extra Main Action

extra

  • Buy assistant

assistant

End action

  • End turn

end

  • Stop buying

end

  • Stop selling

end

To end the turn, every main action must be done. If a player skips a turn, he is disconnected.

How do I play with the GUI?

  • Press the button of the action that you want to do
  • In case cards or councilors are needed, you have to drag and drop them on the item that you want to buy or on the city where you want to build

lm_colombo_cof's People

Contributors

gianpaolobranca avatar matteocolombo avatar

Watchers

 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.