Project Snake
- superryan94
- Posts: 53
- Joined: Sat May 09, 2015 5:59 am
- Location: Rotterdam The Netherlands
Re: Project Snake
I managed to make Snake move the way it should be^^
But now that I'm working on the apples I get to a problem. I want to make an instable oscilating circuit for a randomizer. But I am not allowed to make an oscilating circuit. Do you happen to have some randomizer examples that I can use to make it?
PS: I have an idea but that would take a massive amount of time an a huge amount of gates with possibly will result in a circuit that is to slow to work properly.
But now that I'm working on the apples I get to a problem. I want to make an instable oscilating circuit for a randomizer. But I am not allowed to make an oscilating circuit. Do you happen to have some randomizer examples that I can use to make it?
PS: I have an idea but that would take a massive amount of time an a huge amount of gates with possibly will result in a circuit that is to slow to work properly.
Re: Project Snake
You can use sensor to generate random values.
- superryan94
- Posts: 53
- Joined: Sat May 09, 2015 5:59 am
- Location: Rotterdam The Netherlands
Re: Project Snake
Can you give a little explantion on the sensor? I can't make a randomizer with only 1 output with it.
It will give a lot of apples when I do it like this. And if I make a demultiplexer for it it will be one with 840 and gates whits I think is a little big...
It will give a lot of apples when I do it like this. And if I make a demultiplexer for it it will be one with 840 and gates whits I think is a little big...
Re: Project Snake
I am not sore about what you need. But you can use the sensor to give random number for row and column where the apple is located. If this doesn’t answer your question please give more information on what you need.
- superryan94
- Posts: 53
- Joined: Sat May 09, 2015 5:59 am
- Location: Rotterdam The Netherlands
Re: Project Snake
I have already figured out how it works. My randomizet is now a lot smaller than I initially would design it. Thanks for saying that the sensor is an output and not an input:)
But now I have another question. Why is my circuit oscilating?
It should be a stable flipflop like randomizer...
But now I have another question. Why is my circuit oscilating?
It should be a stable flipflop like randomizer...
- superryan94
- Posts: 53
- Joined: Sat May 09, 2015 5:59 am
- Location: Rotterdam The Netherlands
Re: Project Snake
And if it doesn't oscilate it's a real attack on my clock speed.
With randomizer
Without the randomizer
With randomizer
Without the randomizer
Re: Project Snake
Can you please share your circuit here?
- superryan94
- Posts: 53
- Joined: Sat May 09, 2015 5:59 am
- Location: Rotterdam The Netherlands
Re: Project Snake
Sure
- Attachments
-
- Problem circuit.CircuitProject
- (633.43 KiB) Downloaded 1012 times
- superryan94
- Posts: 53
- Joined: Sat May 09, 2015 5:59 am
- Location: Rotterdam The Netherlands
Re: Project Snake
Did you already have time to look into it?
Re: Project Snake
I did not figured out how to make it oscillate, so I hope you can give a hint, but looks like performance investigation will take a bit longer.