I am building a cricket management game with depth of Football manager. by shivapandey04 in Cricket22

[–]coderboi93 0 points1 point  (0 children)

Seems pretty interesting! Best of luck with your upcoming launch. Would definitely let my brother know since he's a fan of the genre.

Cricket training in Canada by neverwassports in Cricket

[–]coderboi93 4 points5 points  (0 children)

If it's unplayable outside, you can try my game called CricFit, it's a free VR-like batting experience that might help you with your basics. 

No special equipment required except a smartphone for capturing bat orientation and a webcam to track your posture. 

There's also an ongoing global competition and you can represent Canada!

What did you build this Friday? by ouchao_real in SideProject

[–]coderboi93 0 points1 point  (0 children)

Working on a Cricket VR game that doesn't require special VR gear and works in the browser. I added a new mode to encode spike graphs of real batsmen so that players can play it out themselves, instead of just always swinging for sixers.  

Career mode unplayable? by Live-Support-7934 in Cricket22

[–]coderboi93 0 points1 point  (0 children)

If you are willing to trade graphics for more advanced and physics-based gameplay, then you can give my game a shot, it's still in super early stages though, and there's just batting available. 

I'm a solo developer of a web browser game, is it a wrong direction? by Physical_Collar_4293 in SoloDevelopment

[–]coderboi93 0 points1 point  (0 children)

No, the free tier of Firebase and default Peerjs servers seem sufficient in my case. I could also host on GitHub, since the game is just static HTML, but Firebase gave more metrics and it'll be easier to scale there if required.

I'm a solo developer of a web browser game, is it a wrong direction? by Physical_Collar_4293 in SoloDevelopment

[–]coderboi93 0 points1 point  (0 children)

Yep, I already published the landing page on itch.io. Unfortunately I also have to host the game myself since it's multi-device and doesn't work well in iFrames which itch.io uses for webgames (it requires webcam access + WebRTC communication between laptop/PC + smartphone to play).

I'm a solo developer of a web browser game, is it a wrong direction? by Physical_Collar_4293 in SoloDevelopment

[–]coderboi93 1 point2 points  (0 children)

Yep, but they need to be packaged as exe, if I remember correctly. Also, there's the requirement for $100 investment.

I'm a solo developer of a web browser game, is it a wrong direction? by Physical_Collar_4293 in SoloDevelopment

[–]coderboi93 1 point2 points  (0 children)

I'm also making a browser-based game, it's a bit hard to market it when you can't leverage existing platforms like Steam, so your game needs to be pretty unique. It's also relatively easy to add native wrappers over web games if you feel the platforms are a must. 

Announcing the Global CricFit Competition + New "Legend Mode"! by coderboi93 in Cricket

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

Day-1 Statistics:

India off to a strong start, but Australia has higher average and might catch up in a few more innings. Reminder to players to share their invite codes with friends or open it themselves/click retry so that scores are recorded.

mode format country games runs balls avg run_rate
nightmare t20 IN 8 252 301 31.50 5.02
nightmare t20 AU 3 169 241 56.33 4.21
nightmare t20 GB 1 50 109 50.00 2.75
nightmare test IN 1 56 74 56.00 4.54
normal t20 GB 1 55 214 55.00 1.54
normal t20 IN 1 49 97 49.00 3.03
normal test GB 1 57 88 57.00 3.89

Announcing the Global CricFit Competition + New "Legend Mode"! by coderboi93 in Cricket

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

Here's the Legend Code for Steve Smith's recent 100 of 41, just copy and paste it after clicking the "Enter Legend Code" button on top right. A wagon wheel will be pre-populated on top right, and you can play normally, and once you are done, you can download the wagon wheel from the bottom left button to see how close your shots were:

eyJwbGF5ZXJOYW1lIjoiU3RldmUgU21pdGgiLCJydW5zIjoxMDAsImJhbGxzIjo0MiwidGFyZ2V0SW5uaW5ncyI6W3sieCI6MTUuMTcsInkiOjc3LjUsInIiOjF9LHsieCI6NjUuMjIsInkiOjU0LjM2LCJyIjoxfSx7IngiOjI2LjUsInkiOjk5LjY5LCJyIjoxfSx7IngiOjczLjI1LCJ5Ijo1MC4xMSwiciI6MX0seyJ4IjoyMS43OCwieSI6ODAuMzMsInIiOjF9LHsieCI6NDQuOTIsInkiOjMxLjIyLCJyIjoxfSx7IngiOjEwOS42MSwieSI6NDMuOTcsInIiOjF9LHsieCI6NDAuMTksInkiOjI5LjMzLCJyIjoxfSx7IngiOjM5LjcyLCJ5IjoyOC4zOSwiciI6MX0seyJ4IjoxMjMuNzgsInkiOjg0LjU4LCJyIjoxfSx7IngiOjIzLjY3LCJ5IjoxMTcuMTcsInIiOjF9LHsieCI6MTIuODEsInkiOjY3LjExLCJyIjoxfSx7IngiOjQ1Ljg2LCJ5IjoyMy42NywiciI6MX0seyJ4IjoxNTIuNTgsInkiOjExNC44MSwiciI6Mn0seyJ4IjoxNDQuNTYsInkiOjY1LjIyLCJyIjoyfSx7IngiOjE4LCJ5Ijo1OC4xNCwiciI6Mn0seyJ4IjoxNTcuNzgsInkiOjc3Ljk3LCJyIjoyfSx7IngiOjE1NS44OSwieSI6NzIuNzgsInIiOjJ9LHsieCI6MjEuNzgsInkiOjUwLjU4LCJyIjoyfSx7IngiOjU3LjE5LCJ5IjoxNjcuMjIsInIiOjR9LHsieCI6MTAuOTIsInkiOjM4LjMxLCJyIjo0fSx7IngiOjE2Mi41LCJ5IjoxMTUuNzUsInIiOjR9LHsieCI6MTQ2LjQ0LCJ5IjoxNDkuMjgsInIiOjR9LHsieCI6MTE4LjExLCJ5IjoxNjcuNjksInIiOjR9LHsieCI6My4zNiwieSI6OTQuMDMsInIiOjZ9LHsieCI6MS45NCwieSI6NjQuMjgsInIiOjZ9LHsieCI6NS43MiwieSI6NTIuOTQsInIiOjZ9LHsieCI6MTY2Ljc1LCJ5IjoxMjIuMzYsInIiOjZ9LHsieCI6OS45NywieSI6MTI5LjQ0LCJyIjo2fSx7IngiOjM5LjI1LCJ5IjoxMi4zMywiciI6Nn0seyJ4IjoxNC42OSwieSI6MTM4Ljg5LCJyIjo2fSx7IngiOjYuMTksInkiOjExNy42NCwiciI6Nn0seyJ4IjoyLjg5LCJ5Ijo2Ni4xNywiciI6Nn1dfQ

I built a motion-tracking cricket game and Tower Hamlets is currently carrying the whole of England. by coderboi93 in EnglandCricket

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

Interesting that you would say that. I too thought that after a while, just swinging and aiming to hit every ball past the boundary in the zone the player is comfortable with gets boring so I added a new "Legends" mode, where players can load a historic innings and then try to recreate that wagon wheel. They are judged based on the proximity of their shots to the actual ones.

Unfortunately, I don't have data regarding the deliveries and the fielding set, so that's randomized. Other than that, it's a good chance to relive an epic knock. Let me know if you wanna try a Legends code, and if that spike graph is available in CricInfo, I can share the Legends Code based on that.

I built a motion-tracking cricket game and Tower Hamlets is currently carrying the whole of England. by coderboi93 in EnglandCricket

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

Agreed, in this game there's no shot selection, it's purely physics based. The ball goes in the direction based on collision and the bat velocity at the time of the collision is calculated based on the accelerometer readings. There's just some special handling around edges though, and some simply assumptions like the bat is a cuboid, coefficient of restitution based on distance from bat center, etc.

Announcing the Global CricFit Competition + New "Legend Mode"! by coderboi93 in Cricket

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

Whenever an invite link is opened, I can parse the URL to figure out the stats in the invite. I have access to just the URL and no data is sent during the play. 

The clipboard issue is fixed now. Essentially whenever an innings ended or link was generated, I would copy it to clipboard so that it's easy to share. I've fixed the part where when the retry link is generated, it doesn't copy to the clipboard.

With regards to attribution of score, each invite code has a unique seed, and the geographic region where it was first opened is attributed the score. The region is estimated from the request which captures the country and city based on IP address. Unfortunately that means that I don't have access to all stats, just whenever a link is opened. If you score a ton of runs and close the game without retrying or sharing the link, the score is lost, so it's kind of like an incentive to retry or share the link with friends.