Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/tjmelo/whats-number-game

Simple game for choose a number among several possibilities. Go ahead until found the correct number. Enjoy it!
https://github.com/tjmelo/whats-number-game

css3 html javascript sass-library webpack

Last synced: 17 days ago
JSON representation

Simple game for choose a number among several possibilities. Go ahead until found the correct number. Enjoy it!

Awesome Lists containing this project

README

        

![project](https://img.shields.io/badge/project-TMX%20WNG-blue)

# What's the number game

![Size](https://img.shields.io/github/repo-size/tjmelo/whats-number-game) ![Version](https://img.shields.io/github/package-json/v/tjmelo/whats-number-game) ![Release](https://img.shields.io/github/v/release/tjmelo/whats-number-game) ![Last Commit](https://img.shields.io/github/last-commit/tjmelo/whats-number-game/main)

## Table of content

- [About app](#about-app)
- [Preview Screens](#preview-screens)
- [Project details](#project-details)
- [CSS](#css)
- [Build](#build)
- [Simple Develop Process](#simple-develop-process)
- [Docker Develop Process](#docker-develop-process)

# About app

### Interacting what's the number game

Simple game for choosing a number among several possibilities. Go ahead until found the correct number. Enjoy it!

Choose a number! If not correct, try again. It might be smaller or bigger in each attempt. Continue interacting until you get right!

# Preview Screens
Start app
![Preview](/public/img/What-s-number-screen-1.jpeg)

https://github.com/tjmelo/whats-number-game/assets/5209592/96265405-ec8e-4231-ad5e-bdfab77805d7

### Project Details

This app uses:

- [x] HTML
- [x] JavaScript
- [x] Typescript
- [ ] Redux
- [x] Babel
- [x] Sass
- [x] Webpack
- [x] Docker

## CSS

To compile CSS in the development process:

```sh
npm run css
```

## Tests

To generate suite tests:

```sh
npm test
```

## Build

To generate build:

```sh
npm run build
```

## Simple Develop Process

Download the project

Clone or fork this repository

```sh
git clone https://github.com/tjmelo/whats-number-game.git

cd whats-number-game

git checkout -b develop

npm install && npm start
```

## Docker Develop Process

```sh
git clone https://github.com/tjmelo/whats-number-game.git

cd whats-number-game

docker compose up -d
```

Install from the command line

```
docker pull ghcr.io/tjmelo/tmx-wng:latest
```

or image in **Docker Hub** for optional download

```
docker pull tmwd/tmx-wng
```

Open the app on a browser http://localhost:3000