#Help with code reusage

1 messages · Page 1 of 1 (latest)

elder wagon
#

s

ivory pythonBOT
#

This post has been reserved for your question.

Hey @elder wagon! Please use /close or the Close Post button above when you're finished. Please remember to follow the help guidelines. This post will be automatically closed after 300 minutes of inactivity.

TIP: Narrow down your issue to simple and precise questions to maximize the chance that others will reply in here.

elder wagon
#

I got 3 methods named checkrules

#

and each one is for one of the 3 methods that I use to add tiles in the grid

#

but I feel like there is some slight intersections between them

#

how should I approach this

#

should I make a table with the 3 methods

#

and put what i want each one to check for

#

and the points that are the same make them in one method

#

and the different ones in another

#

?