Giter VIP home page Giter VIP logo

codewithswastik / clash-of-chem Goto Github PK

View Code? Open in Web Editor NEW
23.0 2.0 9.0 1.03 MB

Clash of Chem is a thrilling multiplayer organic chemistry game where players compete to convert compounds using reagents in a race to achieve their goals.

Home Page: https://clash-of-chem.vercel.app

License: MIT License

Python 37.63% Shell 0.19% JavaScript 2.65% TypeScript 2.76% CSS 0.12% HTML 1.18% Svelte 51.79% SCSS 3.54% Procfile 0.15%
chemistry organic-chemistry hacktoberfest

clash-of-chem's Introduction

Clash of Chem: The Multiplayer Organic Chemistry Game

Clash of Chem is a thrilling multiplayer game where players compete to convert compounds using reagents in a race to achieve their goals. The game combines strategic thinking, organic chemistry knowledge, and real-time interaction to create an engaging experience.

Try it here: https://clash-of-chem.vercel.app

image

Contributing

Contributions are welcome! If you'd like to contribute to Clash of Chem, please follow these steps:

  1. Fork the repository.
  2. Create a new branch for your feature or bug fix.
  3. Make your changes and test thoroughly.
  4. Submit a pull request explaining the changes you've made.

Contributing to reactions.json

If you'd like to add a reaction to reactions.json please follow the following format:

{
  "substrate 1": {
    "reagent 1": "product 1",
    "reagent 2": "product 2"
  }
}

Some things to keep in mind:

  1. Compound names should be generally be IUPAC names
  2. When adding a new compound check whether it is present in the reactions.json, if it is use that name.
  3. Compound names should be in LOWERCASE
  4. There should only be ONE product (the major product) for each reaction

License

This project is licensed under the MIT License.

clash-of-chem's People

Contributors

codewithswastik avatar dorukyum avatar flick0 avatar kavienanj avatar krishsharma0413 avatar midatindex0 avatar sachin-sankar avatar sleepbot-zapp avatar tasfiqultapu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

clash-of-chem's Issues

Injecting code

You can set your name as </div> or somethin and it breaks

What is wrong with this game????

  • Issues with substrates not generating results/looping through the same reagents:
  1. Benzoic acid
  2. Propanenitrile
  3. 1-Butene
  4. Toluene
  5. Benzaldehyde
  6. Acetone
  • Not able to select reagents occasionally
  • Timer stops at times and game stops

Missing Reactions

The reactions of the following functional groups are missing:

  • Ethers
  • Esters
  • Grignard Reagents
  • Isocyanides

Lobby issue.

Redirect to a new lobby when a user creates a private lobby instead of "test".

[web] Unexpected shutdown when countdown reaches 0 in the lobby

/src/routes/lobby/[id]/+page.svelte:62
                                start();
                                ^

TypeError: start is not a function
    at Timeout.eval [as _onTimeout] (/src/routes/lobby/[id]/+page.svelte:62:5)
    at listOnTimeout (node:internal/timers:557:17)
    at processTimers (node:internal/timers:500:7)

Node.js v17.0.1```

Many Problems

  • Starting substrates must be something other than alkanes.
  • Target products are very less, bring in more of them.
  • Option to leave game anytime during the game or after winning the game.
  • Redirect to a new lobby when a user creates a private lobby instead of "test".
  • Incase of user leaving game make sure they dont appear on the clash page anymore.
  • No conversion of aromatic compound to aliphatic compound.
  • Reduce time taken for selecting reagent.

End Game

Option to leave game anytime during the game or after winning the game.

Bugs in the current deployment

  • Ability to join clash without providing name ( solved in #40 )
  • Ability to start clash with only host and no other players (intended feature)
  • negative time in the lobby countdown
  • duplication of users in the lobby
  • Start Clash button randomly not working
  • Inputs not being accepted when there is only one player in the game (solved after changing hosting provider)
  • containers being really thin in home and loading screen on mobile ( fixed in #41 )
  • Winner not being showed after a clash ending
  • challenge number being undefined
  • Clashing room being overwritten by new room

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.