# Help with a function

**URL:** <https://forum.kirupa.com/t/help-with-a-function/115120>\
**Category:** Uncategorized\
**Created:** [July 5, 2004, 8:39pm UTC](https://forum.kirupa.com/t/help-with-a-function/115120 "2004-07-05T20:39:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blatex24](https://avatars.discourse-cdn.com/v4/letter/b/d6d6ee/32.png) [@blatex24](https://forum.kirupa.com/u/blatex24)\
**Post date:** [July 5, 2004, 8:39pm UTC](https://forum.kirupa.com/t/help-with-a-function/115120/1 "2004-07-05T20:39:26Z")

</div>

I need help with drawing three stacks of chips at all four corners of the screen. I am drawing red, white, and blue chips. I have drawn all chips on the top left with a few lines of code. I have also drawn a white stack of chips at all four locations, but there is a lot of code involved in that.

I am wondering what to do to draw a stack of blue, and red chips at the four locations without a lot of code. I put the x, and y locations in an array, but the chips are only drawn in the last location.

Also does anybody have any tips on how to make a card game?

–Blatex24
