Code Monkey home page Code Monkey logo

hexa-space's Introduction

Hexa-Space

Getting Started

First checkout the repository and run the following command to install dependencies:

npm install

Then, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Exercises 1: May the 4th be with you

Goal of this exercise is to show space-ships that are on sale.

Hint: There is an example for a styled sales label in line src/bounded_contexts/space-ship-store-front/ui-adapter/ship-component.tsx:49 you can use to display the sales label.

Step 1

The first step is to mark a space-ship on sale if a space-ship is on sale.

Step 2

If a ship is on sale then the price is reduced by 10%. The old price should also be displayed but crossed out.

Step 3

The customer does not have to pay an interest rate if the space-ship is on sale.

Step 4

The sales banner and the price reduction should also apply on May the 4th on all products.

Exercise 2: An elegant Weapon for a more civilized age

Goal of this exercise is to calculate the weapon power for the weapon inventory. If the imperial controller appear, you have to have a list of your weapons and weapon power ready.

Step 1

Display the number of weapons of each type.

Step 2

Assign a weapon power to each kind of weapon and display a summarized weapon power per weapon type

Step 3

Display a aggregated weapon power for the whole inventory

hexa-space's People

Contributors

marcoemrich avatar illyrica 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.