Git Product home page Git Product logo

memes's Introduction

memes

An online Multi-Player Meme Party Game written in Swift. That's right 100% Swift.

This Game is pretty much an online version of What do you Meme, to get us through quarantine... It is implemented with a Vapor Server and a Web Assembly Client communicating over web sockets.

How does it work

This project consists of four targets:

  • Server: A Vapor server. It implements a single endpoint to open a Web Socket to play the game
  • Client: it's well a client, built using TokamakUI and Swiftwasm
  • Model: Shared codable structs that are used by both the Client and the Server
  • Events: The Client and Server-Side Events that can be triggered

Deployment

The GitHub Actions setup for this project will on every commit in main:

  • Build the server for both macOS and Ubuntu
  • Compile the client code using Swiftwasm and push it to GH Pages
  • Push the server code to my personal Dokku instance to start the deployment

Game Data

Right now all the memes and captions for the game are stored in deck.json. It's not a lot, but enough for a first prototype. Feel free to expand it or reuse it in any way.

Contributions

Contributions are welcome and encouraged!

Future Work

This game is no where near finished.

The UI can be improved significantly:

  • Spacing is very inconsistent
  • It expects a slightly larger display and doesn't work on mobile

The memes and captions data set could always be expanded. And perhaps we should move to storing these in a database and provide multiple options for decks (i.e. Programmer Humor, Game of Thrones, etc.)

License

This project is available under the MIT license. See the LICENSE file for more info.

memes's People

Contributors

nerdsupremacist avatar

Forkers

akashkahalkar

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.