There are
tons of resources to help you learn Lua syntax (which is extremely simply) and WoW addon programming. If you are willing to learn, go check out those resources (there's a sticky thread with many links
here) and try to figure out some simple addon first. Then once you can look at addon code without seeing a wall of indecipherable hieroglyphics, look at the chess addon or something more complicated.
Then, if you can't figure it out yourself,
post the error messages and tell us what doesn't work, and we can offer pointers.
However, if all you're willing to do is say "it doesn't work" and "I don't know anything" then there's not really anything anyone can do to help you.