Coder Social home page Coder Social logo

wtg1986 / cherry-charm Goto Github PK

View Code? Open in Web Editor NEW

This project forked from techonomics69/cherry-charm

0.0 0.0 0.0 2.26 MB

An online 3D slot machine game.

Home Page: https://cherry-charm.vercel.app

License: GNU Affero General Public License v3.0

JavaScript 1.11% TypeScript 89.06% CSS 6.63% HTML 3.21%

cherry-charm's Introduction

Cherry Charm Logo

An online 3D slot machine game.

Buy Me a Coffee at ko-fi.com

Information

The game features a slot machine with three reels and four fruits, ๐Ÿ’๐ŸŽ๐ŸŒ๐Ÿ‹. Fruit combinations reward the players with ๐Ÿช™.

Features

  • Fully responsive for desktop and mobile
  • Players can spin the slot machine either by clicking on the Spin button or by pressing Space
  • Number of coins visible
  • Number or spins visible
  • Spin button displays Spinning while the reels are spinning, informing players when they can spin again
  • Orbit controls: clicking and holding mouse while moving the cursors allows players to change 3D view
  • Help button that open the help modal
  • Help modal that contains instructions and all winning fruit combinations
  • Game logo

Winning fruit combinations

Fruits Rewards
๐Ÿ’๐Ÿ’๐Ÿ’ 50 ๐Ÿช™
๐ŸŽ๐ŸŽ๐ŸŽ 20๐Ÿช™
๐ŸŒ๐ŸŒ๐ŸŒ 15๐Ÿช™
๐Ÿ‹๐Ÿ‹๐Ÿ‹ 3๐Ÿช™
๐Ÿ’๐Ÿ’ 40๐Ÿช™
๐ŸŽ๐ŸŽ 10๐Ÿช™
๐ŸŒ๐ŸŒ 5๐Ÿช™

Please note that slot machines only consider pairs a match if they are in order from left to right.

Instructions

In order to run the project locally you need to start

1. Install the project dependencies:

yarn

2. Start Vite:

yarn dev

Screenshots

Desktop

Game Modal

Mobile

Game Mobile Modal Mobile

Technologies

The core technologies of Cherry Charm are JavaScript, WebGL and WebAssembly (WASM). The following libraries and tools are used:

Name License Description
React MIT Component-based, front-end interface library
Three.js MIT 3D graphics API for the web, based on WebGL
React Three Fiber MIT A React renderer for Three.js
Drei MIT Useful helpers for React Three Fiber
R3F-Perf MIT Performance monitoring
Zustand MIT State management
Vite MIT Frontend development tooling

Assets

All the assets used in Cherry Charm (3D models, textures, images, sound effects, music etc.) are either using Creative Commons / Public Domain or they were created by me and can be freely used for commercial purposes. The main factor for choosing and using them was the need to deliver a prototype in a short time. Some (or most) of them should be changed to more appropriate/professional ones for commercial releases of the product.

Software Used

A non-exhaustive list of all the software that was used during the development of Cherry Charm.

  • Visual Studio Code
  • Blender
  • Adobe Illustrator
  • Krita
  • Inkscape
  • Google Chrome
  • Microsoft Edge
  • Mozilla Firefox
  • Figma

๐Ÿ’– Support the Project

Thank you so much for your interest in my project! If you want to go a step further and support my open source work, buy me a coffee:

Buy Me a Coffee at ko-fi.com

License

Copyright (c) 2023 Michael Kolesidis
Licensed under the GNU Affero General Public License v3.0.

๐Ÿ’

cherry-charm's People

Contributors

michaelkolesidis avatar dependabot[bot] avatar

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.