GithubHelp home page GithubHelp logo

d0vak1n / carcassonne Goto Github PK

View Code? Open in Web Editor NEW

This project forked from upperlevel/carcassonne

0.0 0.0 0.0 6.77 MB

Carcassone board-game brought online

Home Page: https://carcassonne.online

License: GNU Affero General Public License v3.0

JavaScript 1.99% TypeScript 69.27% CSS 1.60% HTML 0.55% Vue 26.60%

carcassonne's Introduction

Carcassonne

Carcassone board-game brought online.

If you don't know what carcassonne is, visit us at carcassonne.online (and remember to bring friends!).

How do I host it?

This is only the client code, the server code is hosted here.

In our production server a nginx webserver hosts the files and routes websocket requests to carcasssonne-server. To select where you want your websocket to connect you can edit configurations in your .env file.

How do I build it?

In order to build the client you only need Node.js (preferably >= 18.x).

After you've cloned the repository, install the node.js dependencies:

npm install .

Then you have to copy .env.example into .env and if needed configure the fields as you like.

Build the game files:

npx webpack --mode production

Once built carcassonne's game files can be found under the ./dist directory. The generated files have to be statically served by a webserver such as Apache or nginx.

Why did you create it?

In our lonely quarantine days we wanted to play with our friends but we found no game like carcassonne available online, so we started creating it! If you want to help us make more games like this available do not hesitate to contact any of the devs (opening a issue or finding us on a social network) or consider donating!

Graphics

All of the graphics has been made by Giorgia Nizzoli. Without her we couldn't make this game so enjoyable and user friendly.

Privacy

The server does not host anything and we use no cookies, we are only using google analytics for statistics. The connection is not P2P though (although there are plans to implement that) so any data that you send trough he server ca be easily read by the server. In future versions we plan to use WebRTC to distribute the gameplay load.

Game Logic

The client handles all of the game logic, the server only knows what's the avatar like. This has been designed to ease client implementation and to support multiple game protocols when needed.

Thanks

We must also thank all of our friends that have been silently used as alpha testers.

carcassonne's People

Contributors

loryruta avatar snowycoder 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.