Coder Social home page Coder Social logo

ice-cream-stand's Introduction

#Ice Cream Stand OPEN SOURCED

Here is the full source code for Ice Cream Stand v 1.49. The client side js can be found at source/js/ and is concated at build time (uglyified/minified) time with gulp to the js that users see.

server side js can be found at app.js and is split into routes/ and io.js for web sockets.

###found a bug?

If you found something that is not intended or needs attention, please either open an issue here or if it is a high-impact issue please contact me directly.

###About

Ice Cream Stand is a free browser game where you sell delicious delicious ice cream. Open up a stand, buy workers, unlock flavors. Each flavor's value is affected by global demand based on the number of people selling it.

  • There are five quests in the game
  • 8 levels of prestige, each giving bonuses to the next play through
  • up to 1,000 workers for carts, employees, trucks, robots, and rockets.
  • Combo flavors that unlock when you use certain flavor combinations. These give bonuses when sold
  • Achievements
  • Real-time chat
  • Close to 100 flavors, and 100 addons - each with individual high res art
  • mobile, tablet, and desktop resolutions
  • Friends system
  • Trending flavors
  • Addon events
  • Highscore boards for daily, weekly, and all-time

###Note

Note that config.js has been omitted.

ice-cream-stand's People

Contributors

spgb avatar

Stargazers

 avatar

Watchers

 avatar  avatar

ice-cream-stand's Issues

Sale price not updating when switching cones

For some reason, the sale price doesn't update correctly when switching cones, I'll show an example now. In the following image (http://prntscr.com/5ih3f4) you will see the sale price at $47.81 while using the Baby Cone, this is the correct pricing. And then now you can see what happens when I switch to the Starter Cone (http://prntscr.com/5ih387), the price remains the same at $47.81. And then when switching to the Baby Cone again (http://prntscr.com/5ih3cs), the price reduces to $47.16. Then if I were to click on the Baby Cone once more, it'd return to the full price of $47.81. I believe the reason for this is that it updates the sale price BEFORE setting the cone value when you click on a new cone, rather than after the cone value has been changed.

Moving currently selected addon causes text issues on the cone

So I've just moved one of my addons out of my top 5, and it was one I had on my big cone too, so when I moved it for some reason the little blue box to show which addon I have selected stayed in the same slot instead of moving with the selected addon. The name also changed on the big cone to show the name of the addon that moved into the top 5 slot despite the graphic still being the originally selected addon.

Here is what I mean: http://gyazo.com/ac08868fbe3bc313a7a1f4a8fbda52da

Silo hay count / cow happiness level resetting on refresh

This occurrence needs reproducing. Could be linked to other bugs, such as losing/gaining expertise, and others. Possible cause: game not updating properly due to a problem in communication with the server.

Event description: silo empty after being afk overnight, on refresh silo back to 300 hay.

Dragging cow items/hay/rocks to the flavours causes their icons to disappear along with raising expertise

If you drag any hay, rocks, or items from below the cow onto anything under flavour, addon, cone, or combo, then it causes the icon to disappear and sets the expertise to 15 after you either sell the flavour with the ice cubes, or an auto pilot triggers. Refreshing fixes this, but it's still very odd.

Here is an image of the flavour icons: http://prntscr.com/5v9w6c
And here is a gif of it happening: http://gyazo.com/f2af30b1ef6eb2def4d70decf17a905a

In the gif, you can see me drag a hay to Neutrino, and the icon disappears, then I sell it via ice cubes and the expertise goes straight to 15, however you can see that in the icon box, the expertise remains 12.

Mr Boseman has reported that luckily this does NOT let you buy the Digital skin if you do it with Metal.

FF's showing the combo value in tooltip even when not a combo

I'm not sure if this applies to all combos, but I've noticed that new FF combos don't get names until a couple of hours after using them, I had it with The Toymaker and I've just got it with Porkey: http://prntscr.com/5kcsp5

EDIT: After finding out that this is NOT the correct set of flavours for the Porkey combo... I have changed the bug name to say that it shows the combo value in the tooltip despite it NOT being a combo.

Cow bonus not updated on level up

I leveled my cow by like 3-4 levels and it didn't affect my IPM at all, but when I refreshed or something synced, it would raise my IPM quite a bit.

First cold hand is free

The first cold hand appears to cost $0, and it doesn't charge when you buy it. I think the pricing formula might not include the +1 where it takes the amount of cold hands into account, but I'm not too sure as I've not looked into it.

Silo stops being used when the client disconnects

Both me (Sunbucks) and Daredanial have had the issue that when your internet cuts out, or something causes the connection with the server to disconnect, the silo stops being used, and even after it connects again, it doesn't start using it again. This is fixed upon refreshing, but seeing as the silo is used when AFK, the player isn't around to refresh to make it use the silo.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.