1.0.0 • Published 1 year ago

socha23 v1.0.0

Weekly downloads
-
License
BSD-3-Clause
Repository
github
Last release
1 year ago

Typescript client for Software-Challenge Germany 2022/2023

Discord Documentation

This repository contains a random client for the game "Hey, Danke für den Fisch" written for Typescript and Node JS.

Because it is a random client, it will only do seemingly random moves. If you wish to build your own client on top of this one you can follow the instructions below.

Usage

You can either clone this repository or download it as an archive using the green <> Code button in the top right.

To build the code you need to install the Typescript transpiler and Node.js Version 18!

Once everything is prepared you can add your code to the logic.js file using any IDE you like, however I would recommend Visual Studio Code.

To setup this project execute the following in the console:

npm install

To build and run it write this:

tsc && node output/logic.js

If you wish to pass program arguments to the node execution you can use -- like so:

node output/logic.js -- --help