This repository has been archived on 2024-03-23. You can view files and clone it, but cannot push or open issues or pull requests.
ambition-legacy/frontend
Abdulmujeeb Raji a1f6d8fe7f feat(frontend): get login token from server
As of right now, we don't actually do anything with the token. But at
least we're actually able to get it. 😅

Caveats in implementation:
- UI now needs a pointer to player
- .env is now required for server auth (mentioned in README.md)
2023-08-04 14:55:53 +01:00
..
assets/fonts feat(frontend): FiraCode as a default font as well as more fonts 2023-07-27 20:42:48 +01:00
player feat(frontend): get login token from server 2023-08-04 14:55:53 +01:00
server feat(frontend): get login token from server 2023-08-04 14:55:53 +01:00
ui feat(frontend): get login token from server 2023-08-04 14:55:53 +01:00
.gitignore feat(frontend): get login token from server 2023-08-04 14:55:53 +01:00
go.mod feat(frontend): get login token from server 2023-08-04 14:55:53 +01:00
go.sum feat(frontend): get login token from server 2023-08-04 14:55:53 +01:00
main.go feat(frontend): get login token from server 2023-08-04 14:55:53 +01:00
README.md feat(frontend): get login token from server 2023-08-04 14:55:53 +01:00

Frontend Usage

You must create a .env file in the same folder as your game executable, with BACKEND_URL being a valid URL to a server running the game server. Note that this isn't necessary if you're playing in a browser or using a download from itch.io