pongstylin / tactics

A tactical turn-based board game
The Unlicense
77 stars 23 forks source link

TypeScript #93

Open lordazzi opened 3 years ago

lordazzi commented 3 years ago

You have a nice project here... An online tactics game javascript based with an organized code. What do you think about to migrate this project to typescript? This will help a lot you with maintenance.

pongstylin commented 3 years ago

I think that would be a good thing, especially since the PIXI library has started to support it in recent versions. So integrating typescript, updating PIXI, and supporting NodeJS 14 is a need.

lordazzi commented 3 years ago

I can help you with free time. I recommend strongly to use typescript's strict configuration.

pongstylin commented 3 years ago

Sounds good. I see you edited your post, but I do not recommend switching to Angular structure right now. Let's do a minimal typescript (strict is good if it is not too big of a step) migration. Taking small steps is important.

yetibob commented 3 years ago

I can pick this issue up and start working on it.