franckverrot / tictactoe-elm Goto Github PK
View Code? Open in Web Editor NEWTic Tac Toe with Elm
Home Page: http://franck.verrot.fr/tictactoe-elm/
Tic Tac Toe with Elm
Home Page: http://franck.verrot.fr/tictactoe-elm/
Are alignments produce by elm-format on
https://github.com/franckverrot/tictactoe-elm/blob/master/src/Model.elm#L8-L11
If yes it could be a nice add to explain in a teaching purpose how to configure it.
I understand and appreciate the simple choice of mixing player and box.
But it could be interesting to provide a 2nd implementation with player and box
separated.
This 2nd implementation can be motivated and justify by a chapter 2
who can have a purpose of introduce "adding new module on existing"
with a feature pretext like "player can write their name at the beginning".
It will force to replace A B by X O and show player name.
And introduce on reflexion about how to deal with increase of complexity.
What do think about ? Is It too far from the initial purpose or do you like it ?
https://github.com/franckverrot/tictactoe-elm/blob/master/src/Update.elm#L67-L69
Could be better to rename
MyEvent by GameEvent.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.