Ariana
Like maybe few thousand lines
Alignant
I suggest vim :>
That's how you enter the room
Mat
Like maybe few thousand lines
If he'll write thousands of lines of code as a beginner, my compliments to him😅
Ariana
oh true
Ariana
well ++a; ++a; ++a; ++a; ++a; ++a; ++a; ++a; ++a; ++a; ++a;
Anonymous
truly readable
Ariana
oops
Alignant
Alignant
And it was a game of chess
feufq
oops
object oriented girl
Alignant
And... it was awful
Alignant
I'm not sure what you mean by CP. Is it legal? 😂
klimi
My first C++ project was like 4 thousands lines of code
That's ... Really many for hello world
klimi
^^
Alignant
That's ... Really many for hello world
I mean... a project. Not something you just write down from a book :)
Dima
ascii arts?
feufq
ascii arts?
what's tha
Ariana
art with ascii
Alignant
art with ascii
I prefer Unicode art~
Dima
ascii takes more space and lines
Mat
And... it was awful
The heck you expect from 4k lines?
BinaryByter
And very beautiful
Alignant
The heck you expect from 4k lines?
They wren't in a single file :D
Alignant
At least
Ariana
<looks at all my files with 500+ lines>
Dima
hold my beer
Mat
Clinl is 16k
It's not your first project, and it is not going to play chess
Mat
🤣
Ariana
https://github.com/longld/peda/blob/master/peda.py
Alignant
The heck you expect from 4k lines?
Well, most of the codebase was spent on saving a game to a file using FEN notation
Alignant
There a lot of libraries to work with it, but I did my own implementation
Ariana
fen kinda annyoing but convenient
Ariana
https://github.com/longld/peda/blob/master/peda.py
actually just 6164lines, still qite bad tho
Alignant
fen kinda annyoing but convenient
Yep. And the great part is that you can integrate an existing chess engine
Ariana
yeah
Ariana
though i can never read fen
Anonymous
😐
Alignant
Thanks you're here to save us *_*
Dima
lol
Alignant
though i can never read fen
Well, it's not something a human should read :D
Ariana
haha true
Alignant
And you'd be able to read it if it were formated in a certain way
Ariana
there should be a compressed version of pgn too
Alignant
there should be a compressed version of pgn too
rnbqkbnr /pppppppp /8 /8 /8 /8 /PPPPPPPP /RNBQKBNR w KQkq - 0 1 like this :D
Ariana
3 bits for piece 3 bits for rank 3 bits for file castle just use the king
Ariana
rnbqkbnr /pppppppp /8 /8 /8 /8 /PPPPPPPP /RNBQKBNR w KQkq - 0 1 like this :D
until you try to read one linear r1b2rk1 and like wut
Alignant
3 bits for piece 3 bits for rank 3 bits for file castle just use the king
I was a stupid kiddoe and I converted FEN to a ESN
Ariana
rip
Alignant
rnbqkbnr /pppppppp /8 /8 /8 /8 /PPPPPPPP /RNBQKBNR w KQkq - 0 1 like this :D
Which stands for Eugene's(my name) stupid notation rnbqkbnr pppppppp eeeeeeee eeeeeeee eeeeeeee eeeeeeee PPPPPPPP RNBQKBNR And looked like this
Alignant
It was easier replace with images in a gui, lol
Alignant
until you try to read one linear r1b2rk1 and like wut
Did you also write a chess app? I thought I'm special
Ariana
Yeah making one
Ибраги́м
It's not stealing, because a person didn't lose his ownership :D
I've directed my radars towards you now. Potential culprit detected.
Anonymous
Ariana
i want to unlive
Mat
Nope
Mat
Nope
Mat
Well, i earn something with little jobs, and I buy only books i can afford
Mat
There are times where i read something online, but usually after a while i buy that book if it's useful
Mat
Nope. That helps
olli
I am, there is still no need to.
olli
I don't have that many books. There are also plenty of resources available for free. cppreference is my favorite one to read about C++. It's probably more complete than any book. However I don't think the discussion about piracy belongs to this group
olli
Unauthorized duplication is piracy no matter wether you sell them or not. This will, depending on the country, only make a difference in court.
olli
We can however try to prevent piracy and book offerings in this chat. There is enough material for free out there. Period. And now someone bring back ontopic discussions
BinaryByter
You haven't read any of those books and you prolly don't know what 80% of their content is, snop givinc badly informed advice
Ariana
^
Ariana
Nope
Ariana
Do you have first hand experience?
Ariana
Do you?
BinaryByter
Your 'professionals' tell you to use vim only and that fp is the only paradigm that shold be used
BinaryByter
Do you have first hand experience?
' i have once tried to code a bit, but i had to ask maxi for help '
Ariana
There was a time where C was looked down upon as a simple language for beginners