The Q-value function is implemented with 2 convolution layers and 3 fully connected layers, and I use the atari game Breakout-v0 for the test.
If you are doing test on the CartPole or some other games which the state is 1 dimension, there network of Q-value function should only have dense layers.
state, real-reward, game_over, lives_rest
0: hold and do nothing
1: throw the ball
2: move right
3: move left