Mirror of
forum.nim-lang.org
index
5316 :: nim in nim
[2019-10-09T21:24:04+02:00]
View Orginal
Lecale
(orginal)
[2019-10-09T21:24:04+02:00]
view original
Has anyone written nim in nim? I ask because
https://en.wikipedia.org/wiki/Nim
has an example in python
leorize
(orginal)
[2019-10-10T06:58:45+02:00]
view original
Yes
https://rosettacode.org/wiki/Nim_Game#Nim
Lecale
(orginal)
[2019-10-10T21:08:21+02:00]
view original
I see that code bugs slightly on my pc.
stdout.styledWrite(styleDim, "Take (1–3): ", resetStyle)
I have a french keyboard, and I see
Take (1ÔÇô3)
which leaves me interested to know why
SolitudeSF
(orginal)
[2019-10-10T22:34:13+02:00]
view original
you dont have proper unicode in your console