Skip to content

rewrite(core): use typescript #90

@y21

Description

@y21

Everything kind of works, but under the hood it's a pain to read through the code.
I've decided that we should use TypeScript (a superset of JavaScript) that makes code more readable by specifying types and generally makes it more fun to write code.

Additionally, we should change the way authenticating (logging in) works.
Right now it emits events (socket.io) for things like sending username and password to validate it on the server, requesting a captcha, ...
Instead of using socket.io for this, we could either make the login section a form that posts data, or listen to the click event for the login button and send an HTTP request.

Metadata

Metadata

Assignees

Labels

backendRelates to the backendcoreRelated to the actual game system, e.g. ideasenhancementNew feature or requestfrontendRelates to the frontendhigh prioritymajor changeVery important, and may contain breaking changes or a lot of additions

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions