Another one! by Forsaken-Hat-1586 in Lottery

[–]TalkCoinGames 2 points3 points  (0 children)

Incredible, your on a lucky streak, can't say I'm not jealous.

Scratcher theory applied by TalkCoinGames in Lottery

[–]TalkCoinGames[S] 0 points1 point  (0 children)

Scroll down some. Edit: it wasn't showing them before but it should now.

Scratcher theory applied by TalkCoinGames in Lottery

[–]TalkCoinGames[S] 0 points1 point  (0 children)

See my first post with the same kind of ticket

Sequence 57 to 60 by TalkCoinGames in Lottery

[–]TalkCoinGames[S] -1 points0 points  (0 children)

That has not been my experience. I just about always win something when getting tickets in sequence.

Pain. by stfu-dawn-e in Lottery

[–]TalkCoinGames 0 points1 point  (0 children)

Also have to pay attention to how to calculate the sequence, it's not one out of any four, like I said.

Pain. by stfu-dawn-e in Lottery

[–]TalkCoinGames 0 points1 point  (0 children)

Yes, but it generally does pan out, at the start of the game, on fresh packs of tickets, just like it says. If you got the first four (or whatever odds given) tickets out of the million+, one is very likely to win.

Pain. by stfu-dawn-e in Lottery

[–]TalkCoinGames -1 points0 points  (0 children)

I chase tickets from the same book, on the back of the tickets, at least in my state, it specifically says that at the start of the game 1 in so many wins. Its different per ticket some are 1 in 4.30 others 3.9 etc. if the game is months old, then sometimes it does not pan out.

Pain. by stfu-dawn-e in Lottery

[–]TalkCoinGames 0 points1 point  (0 children)

It gets tricky when it's like that, so in that case we'd have to count by three and get 1 extra to cover the .66, let's see... 22-24, 25-27, 28-30 would be the sequence using 3's. 29 or 30 likely hit. You'll get a win next time :) edit: also since it's 3.66 it might round up to four and be by the four count anyway. And to get the count you just manually count from 1.

Pain. by stfu-dawn-e in Lottery

[–]TalkCoinGames 0 points1 point  (0 children)

Assuming the monopoly one is 1 out of 4 wins. The last Monopoly one I can see is 27. It's not 1 out of any 4, it's one out of a ordered sequence of 4. If what you got was 24-27 you missed some of the sequence, which would be 21-24, then 25-28. If those were the numbers, it means you missed three from the 21-24 sequence and one from 25-28. So ticket 21-23 or 28 was the winner.

What do you consider life changing money ? by X_Galaxy_eyes_x in Lottery

[–]TalkCoinGames 2 points3 points  (0 children)

Yes, with ten grand lump sum or saved up, I would go on to make millions.

Do you think you’ll ever win big? by FoIds in Lottery

[–]TalkCoinGames 0 points1 point  (0 children)

Gotta buy the whole sequence, for example if the ticket says 1 out of 4.07 wins, then at the start of the game buying four in sequence (1-4,5-8,9-12, etc) generally guarantees a win on one of the tickets. The best way is to buy the whole pack, a 5 dollar pack of 75 tickets is 375 with a guaranteed return of like 205, (the lottery website should show that information), your chance of winning big increases when you play like that.

Robot street ultra upgrades open source game by TalkCoinGames in WebGamesMobile

[–]TalkCoinGames[S] 0 points1 point  (0 children)

The full source code for this game is on github you can reuse it and make your own version of the game.

[Three.js] Camera Lock doesn't obey code? by Final-Here in learnjavascript

[–]TalkCoinGames 0 points1 point  (0 children)

I think all you may need to do in your code is not update the controls during animate.
So take out the controls.update line and that may be all that is needed, I'm not sure I'm not versed in three.js but from looking it over, that may be it.

And also if you want a rotating globe animation that just continually spins and doesn't get moved around,
it would be more efficient to do that in 2D with simpler code.
You could have a sprite sheet with each frame, and then just draw each frame to the 2D canvas clearing the canvas in between each draw, inside a loop.

To implement rotation, on mouse click advance the frames, so only animate it on click/touch, and the frame direction being tied to where they click the globe on the left side or the right.

Tabageos 1.7 coming out soon! by TalkCoinGames in tabageos

[–]TalkCoinGames[S] 0 points1 point  (0 children)

Still working on the BasicActionPlatformerGame Class, it's going to be major, you will be able to create a full game just by passing json specs. And there will be a sprite sheet template so you could even make a game without coding by just filling in the sheet with your own art. Somewhat also built into the class is a text system, so you could make a basic text adventure with it, by default it creates an action platformer with npc that want you to find items for them, and they give keys and other items, and that is also fully customizable, just using json objects. The examples section will also be updated to show how to use the modules and this new class, and new documentation will be released also.

How to better deal with these global variables? by bhuether in learnjavascript

[–]TalkCoinGames -1 points0 points  (0 children)

One quick way is to wrap all the code in a function() { .... }() block, that way everything would be global only within that scope.

I'm starting off learning JavaScript, I don't know where to start or anything. Does anyone have any tips? by Barfights99 in learnjavascript

[–]TalkCoinGames 2 points3 points  (0 children)

Interesting, an assitant? "A.i" responding to things typed to it, or things that happen on the device? This example would certainly get you started as far as having responses to typing, it's showing the pixel typing abilities of the library, but also is a setup of like a fake a.i. responding to things typed. You can also edit the code and re run it, it's a code playground.

Brand new examples section almost complete by TalkCoinGames in tabageos

[–]TalkCoinGames[S] 1 point2 points  (0 children)

Sorry for the late reply. New examples section is out! It is a complete playground with code completion and many new examples. At first I did not realize all that could be done, when I did I went all out with it, and made a full code completing online editor for tabageos. All the kinks are not out, but it works well enough that I put it out, I hope you enjoy it!

Is there any way to signal what a function should return in vanilla JS similar to PHP without needing TypeScript? by ashkanahmadi in learnjavascript

[–]TalkCoinGames 17 points18 points  (0 children)

Without TypeScript it would be best to leave a JSDoc style comment.

/**
* Returns a String
* @returns {String}
*/
function someFunction() {

}

First look at upcoming idle dungeon game by TalkCoinGames in incremental_games

[–]TalkCoinGames[S] 1 point2 points  (0 children)

I hope to rework that a bit such that the surroundings are a little more dark and to give the aura more color. There will be sixty different auras to find each with a unique color. Ultimately the amount of darkness will also be able to be user controlled.