Cookies that are chewy vs cakey can have several variables that impact the dough. If you use baking powder in your recipe, your recipe will most likely be on the cakey side. Ratio of white sugar to brown sugar can also play an important factor - higher white sugar used will cause the cookie to be more crunchy. Dark brown sugar with the molasses added, will give it a more moist and chewy texture.