Skip to content

Jakbor32/Okey-Card-Game-Clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Game history. Basic rules and gameplay of the game.

Okey Card Game is a popular minigame that originated in the MMORPG Metin2. It is often played during the holiday season and is known for its detailed gameplay and strategy.

In Okey Card Game, players aim to collect points by selecting three cards from a deck of 24. The cards must follow a certain logic, such as being in consecutive numerical order (e.g. 2, 3, 4) or having the same number (e.g. 5, 5, 5). Players can also earn more points by arranging the cards in the same color.

The game is divided into different point tiers, with rewards given out based on the number of points a player earns. If a player earns 300 or more points, they will receive a silver Okey chest as a reward. If they earn 400 or more points, they will receive a gold Okey chest. If they earn less than 300 points, they will receive a bronze Okey chest.

Overall, Okey Card Game is a fun and exciting game that requires strategy and skill to excel at. Its popularity in Metin2 and its unique gameplay make it a beloved minigame among players

Implemented features in the game (reflected as in the real game).

  • Game mechanics.
  • Correctly rendering cards exactly as in the actual game using canvas.
  • Discarding cards.
  • Adding cards.
  • Displaying a modal for discarding a card - security mode.
  • Displaying a modal for starting/ending the game.
  • Choosing a game mode: safe or not.
  • Counting the total points obtained in the game.
  • Displaying the points earned for correctly arranging 3 good cards.
  • Displaying a success animation upon correctly arranging 3 cards.
  • Rendering the game table and gameplay board.
  • Mechanism for ending the game.
  • Adding the ability to change the addCard image based on the number of remaining cards to uncover.
  • Adding game rules replicated exactly as in the game.
  • Adapting the game to a responsive version.
  • Displaying the number of remaining cards to uncover.
  • Adding a counter for the number of plays and counting each box separately.
  • Adding the functionality of selecting a favorite music during the game.
  • Adding a system to assist with playing a deck.
  • Adding Supabase with scoreboard and security features for password protection of nicknames.

Getting Started with Create React App

This project was bootstrapped with Create React App.

Check out this mini-game here:

https://okey-card-game.netlify.app

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

One of the most popular mini games in the MMORPG game called Metin2

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published