Git Product home page Git Product logo

yugioh_web's Introduction


Yu-Gi-Oh multiplayer web game & framework - Developing

Author: Ruiqi (Ricky) Peng

A realization of the popular trading card game - yugioh on web using React + Node. The project includes a completely remade engine to contain the game logic, a multiplayer functionality using websocket, and interfaces to create custom cards using Javascript.

That's right, no ygocore and its Lua card scripts but a completely new Yugioh simulator written in Javascript. You can also access its desktop version just by wrapping the source code with some simple tweaks using Electron (just git checkout the electron branch lol)!

Installation for Development

  1. git clone https://github.com/rickypeng99/yugioh_web_server.git
  2. Change directories to ./yugioh_web_server
  3. Command: npm install
  4. git clone https://github.com/BBeretta/yugioh_web.git
  5. Change directories to ./yugioh_web
  6. Command: npm install

Running Server

  1. Open terminal window
  2. Change directories to ./yugioh_web_server
  3. Command: node index.js

Running the web app

  1. Open two terminal windows up and run the following in each of them
  2. Change directories to ./yugioh_web
  3. Command: npm start

Updates (As of February 21st 2023):

  • Updated dependencies for the file to work correctly.

Tech Stack

Software Tool Target Version
Node.js 18.12.1
npm 9.1.2
mui/material 5.11.10
react 18.2.0
react-dom 18.2.0
react-redux 8.0.5
react-scripts 5.0.1
react-sky 1.1.0
react-transition-group 4.4.5
redux 4.2.1
semantic-ui-css 2.5.0
semantic-ui-react 2.1.4
socket.io-client 4.6.1

Works done (As of April 17th 2021):

  • Multiplayer: You can play this game against other players online! (Not actually cuz I haven't deployed my node.js code yet but you can checkout ygo_web_server)
  • Playmat: You can flip the playmat around x-axis, move it to different directions and change its size.
  • Detail: You can view a particular card's detail concisely in the left panel
  • Summoning monsters: Now supports normal, set and tribute summons!
  • Phase changing: Complete and synchronous phase changing between the two players
  • Health bar: Yea it's functioning during battles
  • Effect: Partially developed; I have designed and implemented the basic effect activation & chaining logics between two players (Here is the screen capture of me using polymerization!)
  • Battle: Complete support and animation of all kinds of battles

Outdated recording of an early version

(I am too lazy to prvide a Gif of every aspect of the current gameplay. You can access more screenshots of early versions in the screenshots folder tho)

yugioh_web's People

Contributors

bberetta avatar rickypeng99 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar

yugioh_web's Issues

PLay on mobile

I cannot load local url on my phone. it shows waits for opponent and no thing happened

Error with command: node index.js

Hi.
file:///C:/Users/msi/Downloads/Github/yugioh_web/src/index.js:14
<React.StrictMode>
^

SyntaxError: Unexpected token '<'
at ESMLoader.moduleStrategy (node:internal/modules/esm/translators:117:18)
at ESMLoader.moduleProvider (node:internal/modules/esm/loader:337:14)
at async link (node:internal/modules/esm/module_job:70:21)

tql

给亚麻大佬跪了orz

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.