Skip to content

Commit

Permalink
Merge branch 'dev' of https://github.com/picosmos/Bergle into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Lambert committed Jan 12, 2025
2 parents 2f00fac + a398896 commit fd69627
Show file tree
Hide file tree
Showing 17 changed files with 142 additions and 32,859 deletions.
12 changes: 12 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
FROM oven/bun:1 AS base

COPY ./ /app
WORKDIR /app
run bun i
run bun run build

RUN bun install serve
CMD [ "serve", "-s", "build", "-l", "3200"]



17 changes: 12 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,31 @@
Play this geographical wordle here: [www.bergle.no](https://www.bergle.no)

# Based on

* Original idea: [Wordle](https://www.nytimes.com/games/wordle/index.html)
* Geographical idea: [Worldle](https://worldle.teuteuf.fr/)
* Similar game and translations: [Kommundle](https://kommundle.no/)

## Resources used:
- Areas based on https://commons.wikimedia.org/wiki/File:Boligomr%C3%A5der_Bergen.png
## Resources used

* Areas based on <https://commons.wikimedia.org/wiki/File:Boligomr%C3%A5der_Bergen.png>

## Things to do

* Lag en favicon
* Fiks kartet: bedre zoom, bedre synlighet, kanskje annet framework, hvorfor er det så treigt? tilfeldige feilmeldinger i console
* kanskje finne ut om jeg kan endre del-outputen med hensyn på om kart ble brukt
* SEO

## Run code locally
* Install packages: `npm install` (may fail because of shit)
* Run: `npm start`

* Install [Bun](https://bun.sh/:)
* Install packages: `bun i`
* Run: `bun start`
* Access via [http://localhost:3000/](http://localhost:3000/), this should open automatically

## Contribute

* If you feel very excited to contribute in the world's most important geography guessing game, feel free to **fork** your own version of Bergle
* You can then make a PullRequest on the **dev** branch
* You can then make a PullRequest on the **dev** branch

Binary file added bun.lockb
Binary file not shown.
Loading

0 comments on commit fd69627

Please sign in to comment.