Your move /g/.
>>55580610
7E->5E
>>55580616
this
>>55580621
This.
>>55580616
>>55580621
>>55580647
7H -> 5H
Mind sharing it?
>>55580677
Shhhh. Game in progress.
>>55580661
Forest, Nettle Sentinel
>>55580693
8H->6H
>>55580661
>>55580704
>>55580728
>To continue playing please insert one link to the source
>>55580748
the source is a half baked spaghetti mess from my first year in programming , you probably don't want it.
>>55580728
G8 -> 7H
>>55580610
Where is this from OP?
>>55580768
I would love the chance to see if my first year (current) spaghetti mess looks anything like anyone elses. I only ever see clean code and this looks cool as hell
>>55580769
that is not a valid movement you dummy.
>>55580796
F8 -> 4B then
>>55580768
I want to see it so I can rewrite it and see how much more concise my implementation is.
Also to check if it has edge-case shit like castling
>>55580769
>>55580792
>>55580820
don't say I didn't warn you
http://pastebin.com/Bwn3bEhT
>>55580838
>a single 2 KLOC C++ file
wew
>>55580838
Thanks, this is great. Can't really look into it for a few hours yet so can't comment
>>55580838
Holy god damn
>>55580825
>>55580796
wait so we can just make them move where we want?
>>55580851
>one function
whoa
>>55580838
Please tell me you don't still indent like this
>>55580838
>those position checks to chose background "color"
aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
cute though
>>55580825
>that pawn structure
you can at least give the random anons some handicap.
One thought, OP. The visual representation of the board might be more complicated than a simple 8x8 char table, but it looks ugly as all hell.
>>55580825
>>55580769
look at what you did
>>55580936
>>55580825
7B -> 1E
>>55580956
sorry man, pawns were the only piece my past self coded movement rules for.
>>55580869
>>55580879
>implying you never programmed like this
>implying you have ever even programmed
Takes balls to release your own learning-era code but OP did
>>55580984
8D -> 1C
>>55581040
This. Thanks for the nostalgia OP
>>55580838
All things considered, I should rewrite it and finish it. For completeness sake.
>>55581056
>>55580610
https://en.m.wikipedia.org/wiki/Chess_notation
You fucked up OP
>>55580610
>>55581113
1C -> 1D
curious what happens in the end
>>55581113
not really
>>55581131
Kinda anticlimactic
For the towers, perhaps the top should be this:
¯_¯
The " ¯ " code is 238.
>>55580879
>2016
>caring about indentation
http://format.krzaq.cc/
>>55581190
Ragequit
>>55580610
>>55580838
I'm comin' for ya OP
>>55582534
Well I'll be damned
>>55582534
Actually, pretty cool. Share?
>>55581190
you forgot the coordinates senpai
>>55582782
>Share?
you're the cancer killing independent coders.
Want a professional-grade software? You have to pay for it.
>>55582534
I am so very sorry.
>>55582782
It's not done yet. Still needs movement rules, movement, and a user input loop.
Movement rules are going to be the only annoying part.
I'm going to bed so I'm not finishing it tonight, but here's what I've got so far
http://pastebin.com/tp4NA3ds
If you run the script, it will only display the starting board and exit, but it is internally representing the position of everything. All you'd have to do to move a piece is move its object to a different element of the board and call draw(board) again
>>55580838
>>55583083
Here's the code with some comments so people don't have to try to figure out what the ansi escape codes do
http://pastebin.com/EsHNDrGB
>>55580838
>>55583083
>>55583171
Amazing how much difference it makes knowing your shit.
>>55583227
to be fair, it's just a huge case of "When all you have is a hammer...".
from what i skimmed its all basic functionality layered into itself to create the more complex stuff.
>>55583083
what does a.split do?
Not Op, here is my js chess http://pastebin.com/zWLY7REP
>>55582534
editor?
>>55580838
is this obfuscated