last day (28 days later) » 

Yay, I got my own room :)
you want to be able to create a class inside of a class, for the tic-tac-toe inside of the tic-tac-toe
Although I understand that it'd probably be good to match HTML and Java, I'm not exactly sure why. View can be independent from model.
Aha. Makes sense. I'm going to try to make some changes.
you can change the element from a table to an Image if it is inside of a div. so it would be easier to put an 'X' over the mini boards
stuff like that
this is all stuff that is just flowing from my mind, so it may have to be refined
I need to find myself a team, and give them ideas and have them code for me....
@Malachi you want to be a project manager?
17:48
@lol.upvote for my own company...lol more money that way. I have really good ideas for programs, I am just too ADHD
back to work for a little while then off to do taxes
What's ADHD?
@SimonAndréForsberg that way too you can put a margin on the containers holding the mini boards or put graphics in between the boards as well
@lol.upvote who Said Shiny Red Ball?
@lol.upvote thinking I might actually eat lunch today
@lol.upvote blue cheese isn't my first choice for salad dressing though
shiny red ball syndrome..... that is what ADHD is
never heard of
17:53
Attention Deficit Hyperactive Disorder
if I could only multi task
I found it!
Well, @lol found it for me.
@owner: you can move relevant messages from the 2nd monitor into here :)
cough
Okay guys. Figuring out what your Ultimate TTT is won't be too hard. Anyway it would help me to know what exactly you need here.
OK, sorry for not responding so quickly :) Now I'm here...
So, should I put each tile in a div, which is then put inside a board div?
18:06
Wait a second.
A div for the board. Sure.
Then 9 divs for the small boards?
Wait, we need proper names for this. The board is the whole play area with the 9 small boards, right?
board > tile > field?
I usually call it game > board > tile
at least that's how my Java classes are named :)
Oh, hm.. I'm not happy with these names. Isn't the board the largest area of a board game if there are several areas?
Isn't a tile and a field the same thing? :)
I like "area". Might rename a class in my code...
18:11
Can we call it game > subgame > tile?
I have Game > Board > Cell
Where Board : Cell and Game : Board
board > area > tile?
Board extends cell? Hmm, interesting... Because I assume Cell is not an interface?
board > area > tile, deal!
@lol.upvote how you do that?
don't know. might be a mod thing.
18:15
just for @kleinfreund bejofo.net/ttt
Thanks
Hey, why am I not a room owner in my own room? :)
Cool rules.
@SimonAndréForsberg while I agree that the design should be separate from the logic, I still think that you should keep it close to the same structurally.
and most of what you want to do, should probably be done in javascript anyway and not Java, am I right?
18:18
@Malachi Makes sense, I'll see what I can do...
@SimonAndréForsberg it works and I like it.
Change the HTML first, and then I'll somehow have to manage the CSS inferno that comes with it...
@Malachi My Java code gets compiled to JavaScript, thanks to GWT :) (Google Web Toolkit)
@SimonAndréForsberg oh right....
kind of dumb, why not just write it in javascript, it's pretty much the same.... ;)
@Malachi Hell no!
Simon, if you have a HTML structure, completely unformatted, you can still work with it. Everything CSS related can be done after this.
18:23
@SimonAndréForsberg I know I was just messing with you
@SimonAndréForsberg don't ever tell me a car has nothing to do with a carpet anymore!
There are some kind of identifiers for the areas, right?

1 2 3
4 5 6
7 8 9

something like this?
@lol.upvote From now on, a car can apparently be compiled into a carpet... somehow...
So is the top-left one the 1 and the bottom-right one the 9?
Interesting. I have mine as:
2 3 4
1 0 5
8 7 6
18:26
@kleinfreund Ids, good thinking! Haven't applied any HTML ids yet but I can do that. I'd prefer to use both x and y in the id though, like: area-0-2
But each area has the same 1 to 9. It's not 10-19 for the second one, right?
I'm not quite sure why I would need HTML ids though... but if I do, that's no problem. But regarding the identification, I always use 2d positioning.
@kleinfreund game > area > tile we said! You're talking tiles!
I could do area-0-2-tile-1-1 if that'd be useful?
@lol For HTML it makes more sense to start at the top-left and go down to the bottom-right. Just like text in the western world.
Or I would use tile-5-7, so that the tile is using it's "global" positioning
We have 9 areas and 81 tiles then, right?
@kleinfreund yeah, but I do WPF. Every margin/padding/whatever starts left and then goes around the control clockwise.
0-80 then
the tiles could then get a class .pos-0-2 or similar
@lol.upvote well that's not very nice
Should we start numerating at zero? I know this is how it's done in programming..
18:29
So if I were to make a webui, I'd pull my hair I guess.
@Malachi 0-0 to 8-8 for me, I refuse to use one id number for something that is in two dimensions...
it would be easier to link to the code
Okay, okay. So we use coordinates and start from 0.
That's fine.
you wouldn't have to do any math on the increment variable for the loops
@Malachi I don't use one id number anywhere. It's all in two dimensions.
18:30
I'll work on a simple demo.
I am confused. I will have to see some of the code some time
x-coordinates first, right?
@Malachi Only a matter of time before you will. At most 25 days :)
@kleinfreund Yup, always x first.
I might have to create a nice PHP version of this cool Tic-Tac-Toe game....
and put it up on my website to show off my coding skills
@Malachi You should! It's awesome!
18:32
Is it like this:

1-1, 1-2, 1-3
2-1, 2-2, 2-3
3-1, 3-2, 3-3
I gotta go do some taxes
@kleinfreund it's a matrix
@kleinfreund Indexes starts on zero. So that'd be 0-0 to 2-2
ah, damn^^
0-0 1-0 2-0
0-1 ...
x first :)
So, on the area level, we'll have this:
The first set of tiles will have the same id's, but with "tile-" prefix, right?
@Simon What you said before (area-0-2-tile-1-1) would be pretty redundant, huh?
18:43
@kleinfreund They could, yes... (I'm not entirely sure if I need that many id's)
@kleinfreund Yeah, that was a bit too much... using the global position for tiles would be better I think.
I would use classes instead, it's cleaner in my opinion. Except you need the ID's as JavaScript hooks
so the 81th tile has tile-8-8?
@kleinfreund GWT takes care of all the JavaScripting for me, I don't need any ID's at all!
I think that's easier, yup.
Okay, I use classes then. ;)
Yup, tile-8-8 for the last tile
The Java (--> JavaScript) code will take care of all the functionality of the game (just like it already does), it's the design I need most help with :)
Is there maybe a repo for this?^^
18:56
@kleinfreund A git repo for my code? No. Or what do you mean?
Where you publish the final thing
Watch, the final thing is going to be available on Google Play.
!
Will you be generating the HTML?
@kleinfreund Yes, I can write some HTML on my own but most of it gets generated by GWT. The divs and stuff will be generated. But that doesn't mean that I can't customize it.
Okay, nevermind.
Trying to figure out how to make the base of this construct being as responsive as it gets
19:48
Huh... I'm working on the board.. If I open it in the browser and hit Ctrl-A, this is what I get:
Today I Learned... xD
@kleinfreund well that looks a bit.... weird...
Trying to write TIL ?
Not at all.
I have no clue what is happening.
No tile has special formatting.
I just hit Ctrl-A and it marks these tiles xD
Should I still work on making my HTML generation output divs or should I go back to the table? xD
19:55
>:D
You know, just trying to make it super fancy.
Make it 4x4 and Ctrl+A should spell TILE
4x3 should be enough then. :p
Make it 16:9 and call it "Tic Tac Toe HD"
Oh man, I think the responsive solution I was working on has too many culprits for this complex structure.
Gotta make it more static. :/
The version I have now can be resized.
But the pixel dimensions are not calculated accurately. Using some hacks^^
20:04
@lol.upvote Should I consider that a ?
 
1 hour later…
21:05
@kleinfreund Here's how it looks right now, I think I did most of the HTML changes you suggested: zomis.net/ttt-dev/TTTWeb.html
I have no idea on how to make it look right though, because now one 3x3 area = one row.

  last day (28 days later) »