GithubHelp home page GithubHelp logo

comp4021-group-project's Introduction

Introduction

  • A simple multiplayer Tetris game with jank implementation using purely Javascript HTML and CSS with an Express and Socket.io Backend.
  • A group project for the submission of the 2024 Spring COMP4021 Course in HKUST, partnering with @LeoLYW12138 and @VivianChan-TH

Installation

  1. Installing the requirements via NPM

npm install

  1. Running the backend For debugging purposes I would recommend using nodemon cuz I am lazy Probably should name a better name for the server script

npm run dev

To run it properly, just use the following

npm run start

  1. Browing the webpage Opening localhost:8000, can also be connected from another client in the same LAN using :8000

Sad Notes 🥲

  • RIP my P5.js implementation where apparently packages not within the course's syllabus are not allowed

comp4021-group-project's People

Contributors

tablejai avatar leolyw12138 avatar vivianchan-th avatar

Watchers

 avatar

comp4021-group-project's Issues

Blocks Swap

Swapping blocks as well as displaying the block type being swapped in the frontend

Documentations

Documentation as in comments in the code

Just in case the TAs fuck up up cuz they say they don't understand the code (what happened to me to my other course fml)

Take Video

We taking the video together on Friday 10th May in liba LC-16 from 17:00 - 18:00 and LC-09 from 18:00 - 20:00

Start game when all people ready

Instead of waiting for the entire room to fill in and all people in the room to click ready, just start game once all people who joined the game are ready

Display time left

Display a countdown timer on top of the game container. The time left is given by the server

GameController

Make a gamecontroller class that handles multiple classes at once

Sending garbage lines according to number of rows cleared

Send garbage lines to all people in the same game room according to the number of lines cleared
The garbage row sent in the same badge should have the same hole column (that is generated randomly)

e.g. 4 rows -> 3 garbage rows
3 rows -> 2 garbage rows
2 rows -> 1 garbage rows

Sounds

I think can be sounds that get played when a row is cleared

Or if we have time can make different sounds when different number of rows are cleared

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.