Coder Social home page Coder Social logo

corewar-ui2's Introduction

Corewar App

This project is a web app for Corewar.io

It specifically consumes Corewar which is a Typescript / Javascript implementation of the classic game corewar to provide parser and simulator functionality.

You can use the website here https://www.corewar.io

Technology

This project is bootstrapped through create-react-app.

  • tailwindcss for the styling
  • typefaces for self hosted fonts
  • react-testing-library for the tests
  • Redux and redux-saga for interactive elements and state management

Architectural approach

The project root is App.js which brings in the routing, main tailwind styling and app level depedencies like typefaces.

The App.js imports all the app-chrome for things like header, navigation etc and this is kept outside of everything dynamic.

The App.js contains a body which is where all the pages are rendered into.

The app is organised into pages which roughly map 1-1 to routes, so /editor will render pages/editor.js kind of borrowing he idea from things like Next.

The pages are responsible for pulling in features and composing them into a single page. Features can be re-used between pages. The pages are responsible for applying page level layout to components such as widths, heights, positions and margins and paddings to compose the desired output. features do have some layout responsiblities etc but as a rule these are applied internally.

Getting started

  • Clone the project
  • npm i the dependencies
  • npm start to run the webserver and visit localhost:3000 to see the output

Testing

Run npm test to execute the UI tests

Contribution

We welcome all contributions, feedback and issues, please drop us a line with any feedback you have.

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.