Coder Social home page Coder Social logo

ben-kn-app / monster-factory Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 63.7 MB

Game for Feb Gamejam 2022 made with ionic 6, phaser3, angular/nx 13.

License: MIT License

Shell 0.61% TypeScript 71.62% JavaScript 6.02% HTML 5.06% SCSS 10.63% Java 1.50% Swift 4.00% Ruby 0.56%

monster-factory's Introduction

Monster Factory

This game is dedicated to my 2 year old son Moos who loves to find and point out little monsters in his books.

The game is currently open-sourced on github and the game can be played online on github-pages with the link below.

The game is currently in early release. The finished version would contain 5-8 levels of toys, animals, .... where monsters are invading and the user (kid) has to spot them and remove them to save the world!

Any feedback is appreciated, bugs and suggestions can be reported in the github issue section.

​Thank you for taking the time to tryout this game!

Play the game online:

https://ben-kn-app.github.io/Monster-Factory/

We used the below template to start:

Trello Board:

https://trello.com/b/6bKl4N4i/monster-factory

Instructions on using this repository

  1. Clone this repository
  2. npm install
  3. nx serve monster-factory

Credits to OpenForge Ionic Monorepo Example

Important - Utilizing this Repo

Most of the commands to generate projects/capabilities/apps are default to NX, Ionic, or Angular (in that order), so we will NOT include their specific instructions since as the packages update so will the documentation.

With that said, there are some special things to keep in mind...

Generating a Project - Additional Step

After any project is created by NX, we MUST add StyleLint

nx g nx-stylelint:configuration --project

Generate an application

The normal NX command to generate an app is nx g @nrwl/react:app moster-factory ; however, there are some special steps to generate an Ionic App. These are defined well in Eric Jeker's post here

When using Nx, you can create multiple applications and libraries in the same workspace.

NX Original Instructions

Further help

Visit the Nx Documentation to learn more.

Generate a library

Run nx g @nrwl/react:lib my-lib to generate a library.

You can also use any of the plugins above to generate libraries as well.

Libraries are shareable across libraries and applications. They can be imported from @com.knapp.monsterfactory/mylib.

Development server

Run npx nx run monster-factory:serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run nx g @nrwl/react:component my-component --project=moster-factory to generate a new component.

Build

Run nx build moster-factory to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run nx test moster-factory to execute the unit tests via Jest.

Run nx affected:test to execute the unit tests affected by a change.

Running end-to-end tests

Run ng e2e moster-factory to execute the end-to-end tests via Cypress.

Run nx affected:e2e to execute the end-to-end tests affected by a change.

Understand your workspace

Run nx dep-graph to see a diagram of the dependencies of your projects.

monster-factory's People

Contributors

ben-kn-app avatar

Watchers

 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.