# Need some guidance

**URL:** <https://forum.kirupa.com/t/need-some-guidance/215853>\
**Category:** web dev\
**Created:** [February 11, 2007, 11:09am UTC](https://forum.kirupa.com/t/need-some-guidance/215853 "2007-02-11T11:09:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pikpiak](https://avatars.discourse-cdn.com/v4/letter/p/ee7513/32.png) [@pikpiak](https://forum.kirupa.com/u/pikpiak)\
**Post date:** [February 11, 2007, 11:09am UTC](https://forum.kirupa.com/t/need-some-guidance/215853/1 "2007-02-11T11:09:03Z")

</div>

Hi, i’m intending to make a ‘tetris/bejeweled’ kind of game but instead of it recognizing a row of 3 vert/horizontal gems, is it possible to recognize a certain pattern like say a ‘+’ shape and other shapes?

Say instead of recognizing: (% are misc color blocks, @ is a same color block)  
%%% %%@ %@%  
@@@ %@% %@%  
%%% @%% %@%

i want it to recognize and earn points on these shapes  
%@% @@@  
@@@ @@@  
%@% %@%

i’d studied on some existing brick game sample scripts, but i just can’t figure things out.  
Pls show me some guidance~
