Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
StanislavNikolov committed Aug 10, 2023
1 parent bc12697 commit 06606fd
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
2 changes: 1 addition & 1 deletion backend/arena.ts
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ testArenaAlgo();

export function makeArenaIfNeeded() {
let runningGames = db.query("SELECT COUNT(*) as c FROM games WHERE ended IS NULL").get().c;
for (; runningGames < 4; runningGames++) {
for (; runningGames < 8; runningGames++) {
let id1 = pickBotByNumberOfGamesPlayed();
if (id1 == null) return;

Expand Down
31 changes: 17 additions & 14 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,24 @@
# Hono with Bun runtime

## Getting Started

### Cloning the repo
# Intro
TODO

# Setup
```sh
bun create hono ./NAME_HERE
```
# Install bubblewrap for secure execution
apt install bubblewrap

# Install dotnet to compile the bots
curl -fsSL https://dotnet.microsoft.com/download/dotnet/scripts/v1/dotnet-install.sh | bash

### Development
# Install bun
curl -fsSL https://bun.sh/install | bash

mkdir compiled
```
bun run start
After that, you can develop or run as any other bun project.
```sh
bun install
bun backend/index.html
```

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

### For more information

See <https://honojs.dev/>
# Architecture
TODO

0 comments on commit 06606fd

Please sign in to comment.