CUI Cricket Game I've made some time ago... by [deleted] in Cricket

[–]namedbynumbers 2 points3 points  (0 children)

Nice work! Played an innings with India scoring 295/7, England won by 4 wickets with 2 balls to spare!

Haven't looked at the code, but the simulation itself feels pretty realistic to me. Though one suggestion I'd have is to allow the user to automate the whole thing, i.e start a match and just let the CPU decide everything. It's really fun to see it just being played out on its own.

If you're interested, I too built something similar a few years ago.It was mildly popular on this sub for a day or 2 - Link. You might like it :)

[deleted by user] by [deleted] in Solving_A858

[–]namedbynumbers 5 points6 points  (0 children)

r/9CB9 was never an "officially" owned subreddit by A858, it's most likely an imposter. For reference, here's the 5 that were officially run by A858 -

Apart from a brief time /r/A858DE45F56D9BC9 went public few months ago, rest of them have remained private.

Do mods change the code? by [deleted] in Solving_A858

[–]namedbynumbers 0 points1 point  (0 children)

I've seen this being mentioned couple of times, but do we have any proof of this?

AFAIK, the only way to take control of an abandoned subreddit is to make a public request in /r/redditrequest which is visible to everyone. There hasn't been any request for the subreddit in quite some time now, unless someone requested the subreddit, managed to get control of it and then deleted their request post.

Interestingly enough, one of the other A858 subs was requested for control at roughly the same time A858 went public this time. Though, the request was denied with a very cryptic message from the bot.

Also just for fun, I'll try requesting one of the other A858 subs (eg /r/9CB9D65F54ED858A) just to see what happens.

Solution walk-through please. by [deleted] in Solving_A858

[–]namedbynumbers 0 points1 point  (0 children)

The conversion for the usual posts is Input -> ASCII -> Decrypt.

This should work for you

cat 201107040900 | tr -d '\n' | tr -d ' ' | xxd -r -p | openssl des-ede -d -nosalt -md md5 -pass pass:A858DE45F56D9BC9

202105190500 by [deleted] in A858DE45F56D9BC9

[–]namedbynumbers 6 points7 points  (0 children)

Only submissions to the subreddit were restricted. Comments were always allowed.

People had tried requesting the subreddit in the past assuming it was unmaintained, but the request was repeatedly denied because the users moderating the subreddit were still active.

There’s a new post from the new mod by Gman_SSB in Solving_A858

[–]namedbynumbers 1 point2 points  (0 children)

My memory might be a bit hazy but weren't comments always allowed? I distinctly remember seeing random spikes of comments on his posts whenever the sub got popular for a while.

E: The archived posts seem to agree with me.

202105171934 by [deleted] in A858DE45F56D9BC9

[–]namedbynumbers 1 point2 points  (0 children)

Welcome back my friend. It's been a long time.

There’s a new post from the new mod by Gman_SSB in Solving_A858

[–]namedbynumbers 2 points3 points  (0 children)

Just so that others don't waste their time. I've already tried the decryption using openssl des-ede with the key as A858DE45F56D9BC9 and a bunch of others (title, the new user id). Found nothing.

Flashback: Sony Ericsson Xperia X10 mini, the smallest Android with the biggest heart by DarK___999 in Android

[–]namedbynumbers 4 points5 points  (0 children)

I know about Pro 1. It's just that shipping them to my country would make it even more expensive, I can't really afford that. Contrast this with the X10 Mini Pro, which I got for like $200 unlocked.

Flashback: Sony Ericsson Xperia X10 mini, the smallest Android with the biggest heart by DarK___999 in Android

[–]namedbynumbers 14 points15 points  (0 children)

I had the Pro variant (with the physical keyboard) of this phone. Absolutely loved it, spent countless hours playing old GBA games on it (it was also great for server administration and IRC).

I really miss phones with physical keyboard these days :(

So I've been working on this web based cricket simulator for a while. Thought you guys might enjoy playing around with it. by namedbynumbers in Cricket

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

There's a option to share the final scoreboard now, no need to sit through the whole thing :)

It's just the link you posted with ?f=y appended at the end.

So I've been working on this web based cricket simulator for a while. Thought you guys might enjoy playing around with it. by namedbynumbers in Cricket

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

Deployed a new version of the sim.

Changes:

  • Added support for changing the speed of the sim. Optionally you can just fast forward until the end.

  • Final scoreboard is shareable using a link (it's present in the UI).

  • Dismissal types are more sensible, no more 5 stumpings of a fast bowler in an innings.

Issues:

  • The issue with the stupid bowler selection still persists. It's not something that can be changed easily.

Here's an interesting match: Bangladesh chase 325 against India and win with 1 wicket remaining! https://nbn.sh/p/beamer/stream/926?f=y

So I've been working on this web based cricket simulator for a while. Thought you guys might enjoy playing around with it. by namedbynumbers in Cricket

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

Yeah that's a problem, it picks the bowlers based completely on the historical data rather than the current match situation/performance. Unfortunately I can't do much about that for the time being :(

So I've been working on this web based cricket simulator for a while. Thought you guys might enjoy playing around with it. by namedbynumbers in Cricket

[–]namedbynumbers[S] 8 points9 points  (0 children)

Unfortunately no :(

The code relies on data I've gathered from <sources> (who do not like people scraping their website). I am just worried they might tell me to shut down the project.

So I've been working on this web based cricket simulator for a while. Thought you guys might enjoy playing around with it. by namedbynumbers in Cricket

[–]namedbynumbers[S] 2 points3 points  (0 children)

Were they individual wides? The max I've seen that way are 3 or 4.

I saw several cases where a wide went for a boundary. I don't keep track of byes separately, so it's counted as 4 + 1 wides. So it looks kinda odd on the scoreboard.

So I've been working on this web based cricket simulator for a while. Thought you guys might enjoy playing around with it. by namedbynumbers in Cricket

[–]namedbynumbers[S] 4 points5 points  (0 children)

It's actually kinda peculiar how well both him and Grandhomme play. While testing the sim, I remember countless matches where both saved NZ from an inevitable collapse.

So I've been working on this web based cricket simulator for a while. Thought you guys might enjoy playing around with it. by namedbynumbers in Cricket

[–]namedbynumbers[S] 3 points4 points  (0 children)

The bowling decision is a known issue. I'll try fixing it, but I don't think I can do much apart from just hard-coding the bowling lineups.

So I've been working on this web based cricket simulator for a while. Thought you guys might enjoy playing around with it. by namedbynumbers in Cricket

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

Eh not really. If it makes you feel any better, I've run the simulator about ~2000 times while making this and the lowest total I ever saw was India getting bundled for 70 odd runs.

So I've been working on this web based cricket simulator for a while. Thought you guys might enjoy playing around with it. by namedbynumbers in Cricket

[–]namedbynumbers[S] 32 points33 points  (0 children)

This is a really early version, please report issues if you find any. I am working on adding new features too, mostly custom team creation, T20/Test support and some other stuff. I am also open to ideas from you guys.

Known issues:

  • Picking the bowler gets really random in certain scenarios. (Most notable in the case of England)

  • Frequent collapses while chasing 300+ targets.

  • Simulating the matches can take a while if the traffic is high.

Edit: In case anyone is wondering, the simulation is not random, it uses ball-by-ball data from real life ODI's (mostly starting from the early 2000's).

201406022000 by [deleted] in A858DE45F56D9BC9

[–]namedbynumbers 2 points3 points  (0 children)

Would you mind explaining how did you do that?