Game stuff for ol, powered by HTML5, canvas, javascript and Openlayers.
Games data's scraper module
polkadot js type defitinitons for zero network
Query for the status of any game server in Node.JS
This package provides an adapter to enable Solana apps to connect to a Fractal Wallet.
A Software Development Kit (SDK) for Zero-Knowledge Transactions
Google Cloud Identity Platform Blocking Functions for Node.js
Command-line tool for Puzzmo game developers. Authenticate, upload game builds, and create new game projects.
Javascript audio library for the modern web.
TypeScript definitions for facebook-instant-games
Minimal JavaScript library for creating classic arcade-like mini-games running in the browser
Cross-platform UI component library for Valpro Labs
A TypeScript-to-Luau Compiler for Roblox
This repository contains all of the mechanics that used in rainman games.
The Remote Config package of the Firebase JS SDK
The shared definitions and routines for akashic-cli-xxx
A synchronous, reactive, in-memory database powered by mobx.
The HYTOPIA SDK makes it easy for developers to create massively multiplayer games using JavaScript or TypeScript.
vibe-starter-3d-environment
Generates a pacman game from a github or gitlab user contributions grid
Utilities for SQL instrumentations
A PEG parser to read PGN (Portable Game Notation) games.
Manage your BoardGameGeek collection from a Bun CLI
A Snapshot Interpolation library for Real-Time Multiplayer Games
Relive your childhood with a good ol' game of paper oragami cootie catcher!
Studio Game Program is meant to add multiple players to a game, and then give or remove health and points based on random rolls of a die. These players also accumulate random treasures that give them bonus points. Included are some other mixins that have weighted die, or players that have higher chances of gaining health and different point values dependent upon their treasures. After many rounds, the stats are printed to see what player came out on top. A great game if you want to bet against random odds with your coworkers that know too much about sports. Getting Started: Just need Ruby to make this baby work. Prerequisites: Computer (preferably a mac), and ruby 2.3.3, plus some of that good ol' worldwide web. License: This project is licensed under the MIT License - see the LICENSE.md file for details Acknowledgments: The Pragmatic Studio, Radbear, God, my parents (probably), spotify mathrock playlists, the movie Swordfish because of that one scene where Halle Berry does that thing to the guy coding, etc.
<!-- TABLE OF CONTENTS --> <details open="open"> <summary>Table of Contents</summary> <ol> <li> <a href="#about-the-project">About The Project</a> <ul> <li><a href="#built-with">Built With</a></li> </ul> </li> <li> <a href="#getting-started">Getting Started</a> <ul> <li><a href="#prerequisites">Prerequisites</a></li> <li><a href="#installation">Installation</a></li> </ul> </li> <li><a href="#usage">Usage</a></li> <li><a href="#roadmap">Roadmap</a></li> <li><a href="#contributing">Contributing</a></li> <li><a href="#license">License</a></li> <li><a href="#contact">Contact</a></li> <li><a href="#acknowledgements">Acknowledgements</a></li> </ol> </details> <!-- ABOUT THE PROJECT --> ## About The Project [![Product Name Screen Shot][Screenshot of gameplay and test list]](https://www.dropbox.com/s/mu1rrbx2mqowjkn/studio-game.png?dl=0) This game is a project built following the [Pragmatic Studio Ruby Course](https://online.pragmaticstudio.com/courses/ruby/). I absolutely adored going through this course, because it was unlike other courses in that the main focus wasn't syntax, but how to build a principle-driven, object-oriented program that contains many of the skills we'd need to build real-world projects. The instructors purposefully created exercises to let us build a program using the skills they demonstrated by building a different program. This wasn't a copy and paste kind of course. This game was actually my second run-through, where I test-drove everything from the start based on the objectives only. Skills I valued developing further with this project: - Test-driven development (50+ tests). - Using inheritance to model "is-a" relationships. For example, a clumsy player *is a* kind of player. - Using mixins (modules) to reuse behaviours that are common between classes, but should not be modeled with an inheritance relationship. A good tip was to look for 'able' behaviors in a class to extract, like 'playable', 'printable', 'taxable' etc. - Using a file block which lets you add in class usage examples that are only run when you run the class file specifically. - Overriding default methods (like sort, and renaming things so that they keep a specific format) Things I struggled with: - Testing behaviour that uses blocks. I had a lightbulb moment when I realised I should test the behaviour performed inside the block on a single item. Testing the output of an entire block is like testing Ruby syntax works. Alternatively, test the before and after state of something that changes as a result of using a block. Cooool. - Puts. It felt wrong to use puts to show the output in the console. I'd like to learn how to seperate the view logic for a command-line project later. Things I did to make it my own: - Wrote a lot more tests for my second run-through. - Noticed and extracted further 'able' behaviours into modules (like printing stats, formatting output and handling csv files). ### Built With * [Ruby (language)](https://www.ruby-lang.org/en/) * [RSpec (framework)](https://rspec.info/) * [Vim (text-editor)](https://www.vim.org/) <!-- GETTING STARTED --> ## Getting Started To get a local copy up and running follow these steps: ### Prerequisites This is an example of how to list things you need to use the software and how to install them. * gem ```sh npm install npm@latest -g ``` ### Installation 1. Install the gem ```sh gem install studio_game_2021 ``` <!-- USAGE EXAMPLES --> ## Usage To play a game from the command-line, open a new command project and run the command-line script like so: ```sh studio_game ``` Or, if you'd like to use the game as a library, here's an example of how to use it in `irb`. You can also check the bottom of each class or module file for further usage instructions ``` >> require 'studio_game/game' => true >> game = StudioGame::Game.new("Knuckleheads") => #<StudioGame::Game:0x007fdea10252d8 @title="Knuckleheads", @players=[]> >> player = StudioGame::Player.new("Moe", 90) => I'm Moe with health = 90, points = 0, and score = 90. >> game.add_player(player) => [I'm Moe with health = 90, points = 0, and score = 90.] >> game.play(1) ``` <!-- ROADMAP --> ## Roadmap I plan to customize this game further now that I have a solid foundation to explore from. It'll be fun to let the players interact with each other more, like swapping treasures, and maybe add some kind of board game with it's own features. That's my next focus. ## Contributing Feel free to fork this project and play around with it. Open to feedback-related pr requests. <!-- LICENSE --> ## License Distributed under the MIT License. See `LICENSE` for more information. <!-- CONTACT --> ## Contact Becca - [@becca9941](https://twitter.com/Becca9941) - becca@essentialistdev.com Project Link: [https://gitlab.com/EssentialistDev/studio-game](https://gitlab.com/EssentialistDev/studio-game) <!-- ACKNOWLEDGEMENTS --> ## Acknowledgements - [Pragmatic Studio](https://online.pragmaticstudio.com/courses/ruby/) for empowering me with awesome new development skills. - [Best-README-Template](https://github.com/Becca9941/Best-README-Template) for helping me write a README for this project.